Skip to content

Commit 5422b5f

Browse files
committed
[RISCV] Rename VPseudoVWALU_VV_VX_VI to VPseudoVWSLL. NFC
The scheduler class name is hardcoded in the class so its not a general class.
1 parent 4d95850 commit 5422b5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -452,16 +452,16 @@ multiclass VPseudoVCPOP {
452452
}
453453
}
454454

455-
multiclass VPseudoVWALU_VV_VX_VI<Operand ImmType> {
455+
multiclass VPseudoVWSLL {
456456
foreach m = MxListW in {
457457
defvar mx = m.MX;
458458
defm "" : VPseudoBinaryW_VV<m>,
459459
SchedBinary<"WriteVWSLLV", "ReadVWSLLV", "ReadVWSLLV", mx,
460460
forceMergeOpRead=true>;
461-
defm "" : VPseudoBinaryW_VX<m>,
461+
defm "" : VPseudoBinaryW_VX<m>,
462462
SchedBinary<"WriteVWSLLX", "ReadVWSLLV", "ReadVWSLLX", mx,
463463
forceMergeOpRead=true>;
464-
defm "" : VPseudoBinaryW_VI<ImmType, m>,
464+
defm "" : VPseudoBinaryW_VI<uimm5, m>,
465465
SchedUnary<"WriteVWSLLI", "ReadVWSLLV", mx,
466466
forceMergeOpRead=true>;
467467
}
@@ -525,7 +525,7 @@ let Predicates = [HasStdExtZvbb] in {
525525
defm PseudoVCLZ : VPseudoVCLZ;
526526
defm PseudoVCTZ : VPseudoVCTZ;
527527
defm PseudoVCPOP : VPseudoVCPOP;
528-
defm PseudoVWSLL : VPseudoVWALU_VV_VX_VI<uimm5>;
528+
defm PseudoVWSLL : VPseudoVWSLL;
529529
} // Predicates = [HasStdExtZvbb]
530530

531531
let Predicates = [HasStdExtZvbc] in {

0 commit comments

Comments
 (0)