[llvm] [AMDGPU] Fix subtarget predicates for MUBUF instructions. (PR #72110)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 04:56:19 PST 2023


================
@@ -2089,6 +2087,7 @@ class MUBUF_Real_gfx11<bits<8> op, MUBUF_Pseudo ps,
   let Inst{53}    = ps.tfe;
   let Inst{54}    = ps.offen;
   let Inst{55}    = ps.idxen;
+  let SubtargetPredicate = isGFX11Only;
----------------
jayfoad wrote:

Instead of this, could you put something in a base class so that all Reals copy their SubtargetPredicate from the corresponding Pseudo?

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


More information about the llvm-commits mailing list