[llvm] 6f65a39 - [RISCV] Update RISCVVectorPeephole pass name
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 25 19:34:12 PDT 2024
Author: Luke Lau
Date: 2024-07-26T10:33:38+08:00
New Revision: 6f65a397858cb9ed598db7433f332e5bc1862637
URL: https://github.com/llvm/llvm-project/commit/6f65a397858cb9ed598db7433f332e5bc1862637
DIFF: https://github.com/llvm/llvm-project/commit/6f65a397858cb9ed598db7433f332e5bc1862637.diff
LOG: [RISCV] Update RISCVVectorPeephole pass name
It was previously called RISCVFoldMasks
Added:
Modified:
llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
llvm/test/CodeGen/RISCV/O3-pipeline.ll
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp b/llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
index f328c55e1d3ba..20c014a6782a9 100644
--- a/llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
+++ b/llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
@@ -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;
diff --git a/llvm/test/CodeGen/RISCV/O3-pipeline.ll b/llvm/test/CodeGen/RISCV/O3-pipeline.ll
index 3611d92826235..e305a74d7aef3 100644
--- a/llvm/test/CodeGen/RISCV/O3-pipeline.ll
+++ b/llvm/test/CodeGen/RISCV/O3-pipeline.ll
@@ -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
More information about the llvm-commits
mailing list