[llvm] [AMDGPU][MC] Instructions not to be supported in GFX940 (PR #109225)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 20 02:14:59 PDT 2024


================
@@ -3277,12 +3277,18 @@ defm BUFFER_ATOMIC_XOR_X2       : MUBUF_Real_Atomic_vi <0x6a>;
 defm BUFFER_ATOMIC_INC_X2       : MUBUF_Real_Atomic_vi <0x6b>;
 defm BUFFER_ATOMIC_DEC_X2       : MUBUF_Real_Atomic_vi <0x6c>;
 
-defm BUFFER_STORE_LDS_DWORD     : MUBUF_Real_vi_gfx90a <0x3d>;
+let AssemblerPredicate = isGFX8GFX9NotGFX90A in {
----------------
arsenm wrote:

You generally shouldn't need to touch AssemblerPredicate. The SubtargetPredicate on the pseudodefintion is wrong, should fix it there.

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


More information about the llvm-commits mailing list