================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to