[llvm-branch-commits] [clang] [CIR][CUDA] External init for `__device__`, `__constant__` and internalize host shadows (PR #186568)

Zaky Hermawan via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Mar 15 04:14:26 PDT 2026


================
@@ -1393,6 +1393,20 @@ class CIR_AST<string name, string prefix, list<Trait> traits = []>
   }];
 }
 
+def CIR_ExternallyInitializedAttr : CIR_Attr<
----------------
ZakyHermawan wrote:

the one in `CIRCUDAAttrs.td` is specific to CUDA, is it okay to duplicate, or we could just remove the one in `CIRCUDAAttrs` and replace it with this one ?

https://github.com/llvm/llvm-project/pull/186568


More information about the llvm-branch-commits mailing list