aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/Scalar.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-01-03 00:25:16 +0000
committerCameron Zwarich <zwarich@apple.com>2011-01-03 00:25:16 +0000
commit832f61117d69019376c4aabedd4de3831279e288 (patch)
treec47be67fe90ab424bf8b7d7e81886dcdb363f968 /lib/Transforms/Scalar/Scalar.cpp
parent67678c8307bca7fa867059669ead579215cda732 (diff)
downloadexternal_llvm-832f61117d69019376c4aabedd4de3831279e288.zip
external_llvm-832f61117d69019376c4aabedd4de3831279e288.tar.gz
external_llvm-832f61117d69019376c4aabedd4de3831279e288.tar.bz2
Add a new loop-instsimplify pass, with the intention of replacing the instance
of instcombine that is currently in the middle of the loop pass pipeline. This commit only checks in the pass; it will hopefully be enabled by default later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/Scalar.cpp')
-rw-r--r--lib/Transforms/Scalar/Scalar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/Scalar.cpp b/lib/Transforms/Scalar/Scalar.cpp
index 27c1118..2b13bca 100644
--- a/lib/Transforms/Scalar/Scalar.cpp
+++ b/lib/Transforms/Scalar/Scalar.cpp
@@ -41,6 +41,7 @@ void llvm::initializeScalarOpts(PassRegistry &Registry) {
initializeJumpThreadingPass(Registry);
initializeLICMPass(Registry);
initializeLoopDeletionPass(Registry);
+ initializeLoopInstSimplifyPass(Registry);
initializeLoopRotatePass(Registry);
initializeLoopStrengthReducePass(Registry);
initializeLoopUnrollPass(Registry);