File tree 1 file changed +4
-0
lines changed 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -527,11 +527,13 @@ class RISCVVPseudo {
527
527
Instruction BaseInstr = !cast<Instruction>(PseudoToVInst<NAME>.VInst);
528
528
// SEW = 0 is used to denote that the Pseudo is not SEW specific (or unknown).
529
529
bits<8> SEW = 0;
530
+ bit NeedBeInPseudoTable = 1;
530
531
}
531
532
532
533
// The actual table.
533
534
def RISCVVPseudosTable : GenericTable {
534
535
let FilterClass = "RISCVVPseudo";
536
+ let FilterClassField = "NeedBeInPseudoTable";
535
537
let CppTypeName = "PseudoInfo";
536
538
let Fields = [ "Pseudo", "BaseInstr" ];
537
539
let PrimaryKey = [ "Pseudo" ];
@@ -998,6 +1000,8 @@ class VPseudoNullaryPseudoM<string BaseInst> :
998
1000
// BaseInstr is not used in RISCVExpandPseudoInsts pass.
999
1001
// Just fill a corresponding real v-inst to pass tablegen check.
1000
1002
let BaseInstr = !cast<Instruction>(BaseInst);
1003
+ // We exclude them from RISCVVPseudoTable.
1004
+ let NeedBeInPseudoTable = 0;
1001
1005
}
1002
1006
1003
1007
class VPseudoUnaryNoMask<DAGOperand RetClass,
You can’t perform that action at this time.
0 commit comments