Skip to content

Commit 6f65a39

Browse files
committed
[RISCV] Update RISCVVectorPeephole pass name
It was previously called RISCVFoldMasks
1 parent 4d51e83 commit 6f65a39

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ class RISCVVectorPeephole : public MachineFunctionPass {
5656
MachineFunctionProperties::Property::IsSSA);
5757
}
5858

59-
StringRef getPassName() const override { return "RISC-V Fold Masks"; }
59+
StringRef getPassName() const override {
60+
return "RISC-V Vector Peephole Optimization";
61+
}
6062

6163
private:
6264
bool convertToVLMAX(MachineInstr &MI) const;

llvm/test/CodeGen/RISCV/O3-pipeline.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
; CHECK-NEXT: Lazy Block Frequency Analysis
9191
; CHECK-NEXT: RISC-V DAG->DAG Pattern Instruction Selection
9292
; CHECK-NEXT: Finalize ISel and expand pseudo-instructions
93-
; CHECK-NEXT: RISC-V Fold Masks
93+
; CHECK-NEXT: RISC-V Vector Peephole Optimization
9494
; CHECK-NEXT: Lazy Machine Block Frequency Analysis
9595
; CHECK-NEXT: Early Tail Duplication
9696
; CHECK-NEXT: Optimize machine instruction PHIs

0 commit comments

Comments
 (0)