[Mlir-commits] [clang] [llvm] [mlir] [AMDGPU] Fix missing cache bypass scope on seq_cst buffer fat pointer atomics (PR #213585)

Krzysztof Drewniak llvmlistbot at llvm.org
Thu Aug 6 08:55:15 PDT 2026


================
@@ -1921,12 +1935,19 @@ Value *SplitPtrStructs::handleMemoryInst(Instruction *I, Value *Arg, Value *Ptr,
     Aux |= AMDGPU::CPol::VOLATILE;
   Args.push_back(IRB.getInt32(Aux));
 
+  // amdgcn_raw_ptr_buffer_load has no scope operand, unlike the atomic load,
+  // store, and RMW intrinsics used below.
----------------
krzysz00 wrote:

atomic loads should have a scope operand, no?

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


More information about the Mlir-commits mailing list