[clang] [clang][AMDGPU] Clean-up handling of named barrier type (PR #207687)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 6 03:30:41 PDT 2026


================
@@ -6171,6 +6171,12 @@ LangAS CodeGenModule::GetGlobalVarAddressSpace(const VarDecl *D) {
 
   if (LangOpts.CUDA && LangOpts.CUDAIsDevice) {
     if (D) {
+      // TOOD: Forbid type on struct fields
+      // llvm::dbgs() << D->getNameAsString() << ": " <<
+      // D->getType()->isAMDGPUNamedBarrierType() << "\n";
----------------
arsenm wrote:

Leftover debug

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


More information about the cfe-commits mailing list