[clang] [CIR][CUDA] Handle local, __device__, and __shared__ variables (PR #184248)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 4 13:48:48 PST 2026
================
@@ -665,11 +668,6 @@ void CIRGenFunction::emitStaticVarDecl(const VarDecl &d,
var.setAlignment(alignment.getAsAlign().value());
- // There are a lot of attributes that need to be handled here. Until
----------------
andykaylor wrote:
I don't think we want to just remove this. If there are attributes being encountered that don't need to be handled, you can add diagnostics for the ones that should be handled (as was done in the incubator).
https://github.com/llvm/llvm-project/pull/184248
More information about the cfe-commits
mailing list