[clang] [llvm] [AMDGPU][GFX12.5] Reimplement monitor load as an atomic operation (PR #177343)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 30 04:15:51 PST 2026


================
@@ -366,6 +366,33 @@ void CodeGenFunction::AddAMDGPUFenceAddressSpaceMMRA(llvm::Instruction *Inst,
   Inst->setMetadata(LLVMContext::MD_mmra, MMRAMetadata::getMD(Ctx, MMRAs));
 }
 
+static StringRef getSyncscopeIDAsString(llvm::LLVMContext &Ctx,
----------------
arsenm wrote:

Can you switch AMDGPUTargetCodeGenInfo::getLLVMSyncScopeID to use this new helper 

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


More information about the cfe-commits mailing list