File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -527,11 +527,13 @@ class RISCVVPseudo {
527527 Instruction BaseInstr = !cast<Instruction>(PseudoToVInst<NAME>.VInst);
528528 // SEW = 0 is used to denote that the Pseudo is not SEW specific (or unknown).
529529 bits<8> SEW = 0;
530+ bit NeedBeInPseudoTable = 1;
530531}
531532
532533// The actual table.
533534def RISCVVPseudosTable : GenericTable {
534535 let FilterClass = "RISCVVPseudo";
536+ let FilterClassField = "NeedBeInPseudoTable";
535537 let CppTypeName = "PseudoInfo";
536538 let Fields = [ "Pseudo", "BaseInstr" ];
537539 let PrimaryKey = [ "Pseudo" ];
@@ -998,6 +1000,8 @@ class VPseudoNullaryPseudoM<string BaseInst> :
9981000 // BaseInstr is not used in RISCVExpandPseudoInsts pass.
9991001 // Just fill a corresponding real v-inst to pass tablegen check.
10001002 let BaseInstr = !cast<Instruction>(BaseInst);
1003+ // We exclude them from RISCVVPseudoTable.
1004+ let NeedBeInPseudoTable = 0;
10011005}
10021006
10031007class VPseudoUnaryNoMask<DAGOperand RetClass,
You can’t perform that action at this time.
0 commit comments