aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/UnifyLoopExits.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2020-09-15 15:02:23 -0700
committerArthur Eubanks <aeubanks@google.com>2020-09-15 18:18:31 -0700
commitf7aa1563eb5ff00416fba373073ba19832b6fc34 (patch)
tree069af1b9456780e461c996e2996a541196b0c94f /llvm/lib/Transforms/Utils/UnifyLoopExits.cpp
parent7bc77c8526b6b2f0a2b2b780151bafc5e4094130 (diff)
downloadllvm-f7aa1563eb5ff00416fba373073ba19832b6fc34.zip
llvm-f7aa1563eb5ff00416fba373073ba19832b6fc34.tar.gz
llvm-f7aa1563eb5ff00416fba373073ba19832b6fc34.tar.bz2
[LowerSwitch][NewPM] Port lowerswitch to NPM
Reviewed By: ychen Differential Revision: https://reviews.llvm.org/D87726
Diffstat (limited to 'llvm/lib/Transforms/Utils/UnifyLoopExits.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/UnifyLoopExits.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/UnifyLoopExits.cpp b/llvm/lib/Transforms/Utils/UnifyLoopExits.cpp
index 6eacb9a..7017ee7 100644
--- a/llvm/lib/Transforms/Utils/UnifyLoopExits.cpp
+++ b/llvm/lib/Transforms/Utils/UnifyLoopExits.cpp
@@ -54,7 +54,7 @@ FunctionPass *llvm::createUnifyLoopExitsPass() { return new UnifyLoopExits(); }
INITIALIZE_PASS_BEGIN(UnifyLoopExits, "unify-loop-exits",
"Fixup each natural loop to have a single exit block",
false /* Only looks at CFG */, false /* Analysis Pass */)
-INITIALIZE_PASS_DEPENDENCY(LowerSwitch)
+INITIALIZE_PASS_DEPENDENCY(LowerSwitchLegacyPass)
INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass)
INITIALIZE_PASS_DEPENDENCY(LoopInfoWrapperPass)
INITIALIZE_PASS_END(UnifyLoopExits, "unify-loop-exits",