Skip to content

Commit 5181347

Browse files
lukel97mahesh-attarde
authored andcommitted
[LV] Remove EVLIndVarSimplify pass (llvm#160454)
Initially this was needed to replace the fixed-step canonical IV with the variable-step EVL IV, but this was eventually superseded by the loop vectorizer doing this transform itself in llvm#147222. The pass was then removed from the RISC-V pipeline in llvm#151483 and the loop vectorizer stopped emitting the metadata used by the pass in llvm#155760, so now there's no users of it.
1 parent 3714f4c commit 5181347

File tree

6 files changed

+0
-667
lines changed

6 files changed

+0
-667
lines changed

llvm/include/llvm/Transforms/Vectorize/EVLIndVarSimplify.h

Lines changed: 0 additions & 31 deletions
This file was deleted.

llvm/lib/Passes/PassBuilder.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@
375375
#include "llvm/Transforms/Utils/SymbolRewriter.h"
376376
#include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h"
377377
#include "llvm/Transforms/Utils/UnifyLoopExits.h"
378-
#include "llvm/Transforms/Vectorize/EVLIndVarSimplify.h"
379378
#include "llvm/Transforms/Vectorize/LoadStoreVectorizer.h"
380379
#include "llvm/Transforms/Vectorize/LoopIdiomVectorize.h"
381380
#include "llvm/Transforms/Vectorize/LoopVectorize.h"

llvm/lib/Passes/PassRegistry.def

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,6 @@ LOOP_ANALYSIS("should-run-extra-simple-loop-unswitch",
755755
#endif
756756
LOOP_PASS("canon-freeze", CanonicalizeFreezeInLoopsPass())
757757
LOOP_PASS("dot-ddg", DDGDotPrinterPass())
758-
LOOP_PASS("evl-iv-simplify", EVLIndVarSimplifyPass())
759758
LOOP_PASS("guard-widening", GuardWideningPass())
760759
LOOP_PASS("extra-simple-loop-unswitch-passes",
761760
ExtraLoopPassManager<ShouldRunExtraSimpleLoopUnswitch>())

llvm/lib/Transforms/Vectorize/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
add_llvm_component_library(LLVMVectorize
2-
EVLIndVarSimplify.cpp
32
LoadStoreVectorizer.cpp
43
LoopIdiomVectorize.cpp
54
LoopVectorizationLegality.cpp

llvm/lib/Transforms/Vectorize/EVLIndVarSimplify.cpp

Lines changed: 0 additions & 300 deletions
This file was deleted.

0 commit comments

Comments
 (0)