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

Arseniy Obolenskiy llvmlistbot at llvm.org
Mon Aug 31 03:30:14 PDT 2026


================
@@ -1556,6 +1556,9 @@ class SplitPtrStructs : public InstVisitor<SplitPtrStructs, PtrParts> {
   void setAlign(CallInst *Intr, Align A, unsigned RsrcArgIdx);
   void insertPreMemOpFence(AtomicOrdering Order, SyncScope::ID SSID);
   void insertPostMemOpFence(AtomicOrdering Order, SyncScope::ID SSID);
+  // Empty when the access is not atomic.
+  SmallVector<OperandBundleDef, 1> getAtomicityBundle(AtomicOrdering Order,
----------------
aobolensk wrote:

Instead of speculating I decided to just perform this change. Actually it is not that difficult. As for fundamental parts that were affected, it involved `Instruction::isAtomic` and `Instruction::hasAtomicLoad/Store` and a method was added in `CallBase` class

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


More information about the Mlir-commits mailing list