Skip to content

Commit

Permalink
[RISCV] Update RISCVVectorPeephole pass name
Browse files Browse the repository at this point in the history
It was previously called RISCVFoldMasks
  • Loading branch information
lukel97 committed Jul 26, 2024
1 parent 4d51e83 commit 6f65a39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ class RISCVVectorPeephole : public MachineFunctionPass {
MachineFunctionProperties::Property::IsSSA);
}

StringRef getPassName() const override { return "RISC-V Fold Masks"; }
StringRef getPassName() const override {
return "RISC-V Vector Peephole Optimization";
}

private:
bool convertToVLMAX(MachineInstr &MI) const;
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/RISCV/O3-pipeline.ll
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
; CHECK-NEXT: Lazy Block Frequency Analysis
; CHECK-NEXT: RISC-V DAG->DAG Pattern Instruction Selection
; CHECK-NEXT: Finalize ISel and expand pseudo-instructions
; CHECK-NEXT: RISC-V Fold Masks
; CHECK-NEXT: RISC-V Vector Peephole Optimization
; CHECK-NEXT: Lazy Machine Block Frequency Analysis
; CHECK-NEXT: Early Tail Duplication
; CHECK-NEXT: Optimize machine instruction PHIs
Expand Down

0 comments on commit 6f65a39

Please sign in to comment.