[llvm] [amdgpu] Add HasBufferInv AMDGPUSubtargetFeature (PR #226254)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 12:51:28 PDT 2026


================
@@ -3660,10 +3660,12 @@ let AsmString = BUFFER_WBL2.Mnemonic, // drop flags
 defm BUFFER_WBL2  : MUBUF_Real_gfx90a<0x28>;
 defm BUFFER_INVL2 : MUBUF_Real_gfx90a<0x29>;
 
-let SubtargetPredicate = isGFX940Plus in {
+let SubtargetPredicate = isGFX940Plus in
----------------
arsenm wrote:

This shouldn't need the SubtargetPredicate override, it should inherit it from the pseudo's predicate. The AssemblerPredicate is probably necessary given there are multiple encodings on different targets 

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


More information about the llvm-commits mailing list