aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/LoopInstSimplify.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-01-09 12:35:16 +0000
committerCameron Zwarich <zwarich@apple.com>2011-01-09 12:35:16 +0000
commite7d7865bfdc26c0e9732c6a98a36289b64fdc84a (patch)
treef9bca390a504c979d6b30283acb5029718b1cc23 /lib/Transforms/Scalar/LoopInstSimplify.cpp
parent694d753b09c8f76f0ded5f2d650446bf021e9e8a (diff)
LoopInstSimplify preserves LoopSimplify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopInstSimplify.cpp')
-rw-r--r--lib/Transforms/Scalar/LoopInstSimplify.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/LoopInstSimplify.cpp b/lib/Transforms/Scalar/LoopInstSimplify.cpp
index ad73f7b8e7..5d7e431221 100644
--- a/lib/Transforms/Scalar/LoopInstSimplify.cpp
+++ b/lib/Transforms/Scalar/LoopInstSimplify.cpp
@@ -40,6 +40,7 @@ namespace {
AU.setPreservesCFG();
AU.addRequired<LoopInfo>();
AU.addRequiredID(LoopSimplifyID);
+ AU.addPreservedID(LoopSimplifyID);
AU.addPreservedID(LCSSAID);
}
};