@@ -517,13 +517,13 @@ bool BPFCheckAndAdjustIR::insertASpaceCasts(Module &M) {
Changed |= !CastsCache.empty();
}
// Merge all globals within same address space into single
- // .arena. section
+ // .address_space. section
for (GlobalVariable &G : M.globals()) {
https://github.com/eddyz87 updated
https://github.com/llvm/llvm-project/pull/85161
>From ab31efc46153f7065b186b37e406d72188c4f780 Mon Sep 17 00:00:00 2001
From: Eduard Zingerman
Date: Thu, 14 Mar 2024 01:56:18 +0200
Subject: [PATCH 1/2] [BPF] rename 'arena' to 'address_space'
There are a few p
@@ -517,13 +517,13 @@ bool BPFCheckAndAdjustIR::insertASpaceCasts(Module &M) {
Changed |= !CastsCache.empty();
}
// Merge all globals within same address space into single
- // .arena. section
+ // .address_space. section
for (GlobalVariable &G : M.globals()) {
https://github.com/4ast requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/85161
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/4ast edited https://github.com/llvm/llvm-project/pull/85161
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
eddyz87 wrote:
I also tested this change using
[this](https://gist.github.com/eddyz87/1921247819138a9ed70d77db40db8a7c) kernel
patch and arena tests are passing.
https://github.com/llvm/llvm-project/pull/85161
___
cfe-commits mailing list
cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (eddyz87)
Changes
There are a few places where `arena` name is used for pointers in non-zero
address space in BPF backend, rename these to use a more generic
`address_space`:
- macro `__BPF_FEATURE_ARENA_CAST` -> `__BPF_FEATURE_ADDRE
https://github.com/eddyz87 created
https://github.com/llvm/llvm-project/pull/85161
There are a few places where `arena` name is used for pointers in non-zero
address space in BPF backend, rename these to use a more generic
`address_space`:
- macro `__BPF_FEATURE_ARENA_CAST` -> `__BPF_FEATURE_A