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

Mirko BrkuĊĦanin via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 12 10:23:46 PDT 2025


================
@@ -1121,6 +1355,8 @@ multiclass MIMG_Atomic <mimgopc op, string asm, bit isCmpSwap = 0, bit isFP = 0,
       }
     }
   } // End IsAtomicRet = 1
+
+  defm "_NORTN" : MIMG_Atomic_NoReturn <op, asm, isCmpSwap, isFP, renamed>;
----------------
mbrkusanin wrote:

We could rewrite all these MIMG classes that create `_Vx_Vy` variants with `foreach` to make them much shorter, but that is a separate issue.

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


More information about the llvm-commits mailing list