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

Scott Egerton via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 08:06:52 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> {
----------------
ScottEgerton wrote:

This change allows dpp instructions to be included in the searchable table by inheriting the IsInvalidSingleUse* bits from VOP_Pseudo.

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


More information about the llvm-commits mailing list