[llvm] [AMDGPU] Support image atomic no return instructions (PR #150742)

Mirko BrkuĊĦanin via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 2 05:13:43 PDT 2025


================
@@ -1091,12 +1092,13 @@ multiclass MIMG_Atomic_Addr_Helper_m <mimgopc op, string asm,
     }
 }
 
-multiclass MIMG_Atomic <mimgopc op, string asm, bit isCmpSwap = 0, bit isFP = 0,
-                        string renamed = ""> { // 64-bit atomics
-  let IsAtomicRet = 1 in {
+multiclass MIMG_Atomic_Impl <mimgopc op, string asm, bit isCmpSwap = 0, bit isFP = 0,
----------------
mbrkusanin wrote:

```suggestion
multiclass MIMG_Atomic_Base <mimgopc op, string asm, bit isCmpSwap = 0, bit isFP = 0,
```

Can you rename this to MIMG_Atomic_Base. It will help with merging downstream.

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


More information about the llvm-commits mailing list