[clang] [CIR][AMDGPU] Add module flags for AMDGPU target using amendOperation of CIRDialectLLVMIRTranslationInterface (PR #186073)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 19 22:51:12 PDT 2026
================
@@ -2878,6 +2878,9 @@ void CIRGenModule::release() {
theModule->setAttr(cir::CIRDialect::getModuleLevelAsmAttrName(),
builder.getArrayAttr(globalScopeAsm));
+ if (getTriple().isAMDGPU())
----------------
skc7 wrote:
Thanks for feedback. To match OGCG, updated the same in the new patch.
https://github.com/llvm/llvm-project/pull/186073
More information about the cfe-commits
mailing list