================
@@ -2878,6 +2878,9 @@ void CIRGenModule::release() {
theModule->setAttr(cir::CIRDialect::getModuleLevelAsmAttrName(),
builder.getArrayAttr(globalScopeAsm));
+ if (getTriple().isAMDGPU())
----------------
andykaylor wrote:
Does this need `|| (getTriple().isSPIRV() && getTriple().getVendor() ==
llvm::Triple::AMD))`?
https://github.com/llvm/llvm-project/pull/186073
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits