[llvm] [AMDGPU] Exclude certain opcodes from being marked as single use (PR #91802)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 01:23:18 PDT 2024


================
@@ -819,9 +825,7 @@ class VOP3P_DPPe_Common<bits<7> op, VOPProfile P> : VOP3P_DPPe_Common_Base<op, P
 
 class VOP_DPP_Pseudo <string OpName, VOPProfile P, list<dag> pattern=[],
   dag Ins = P.InsDPP, string asmOps = P.AsmDPP> :
-  InstSI <P.OutsDPP, Ins, OpName#asmOps, pattern>,
-  VOP <OpName>,
-  SIMCInstr <OpName#"_dpp", SIEncodingFamily.NONE> {
+  VOP_Pseudo<OpName, "_dpp", P, P.OutsDPP, Ins, asmOps, pattern> {
----------------
jayfoad wrote:

As a followup I guess we could remove a lot of the definitions below like `let isPseudo = 1` that can now be inherited from `VOP_Pseudo`.

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


More information about the llvm-commits mailing list