aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/LoopInstSimplify.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-02-11 06:08:25 +0000
committerCameron Zwarich <zwarich@apple.com>2011-02-11 06:08:25 +0000
commitfae0abe8eb0def41ee8617aea04c4f18f07d95e8 (patch)
tree920bee734abd391344dae0d6f0d466653adc839b /lib/Transforms/Scalar/LoopInstSimplify.cpp
parent354c5b9bcf01b8da142fa03f465890f30a44dbfc (diff)
downloadexternal_llvm-fae0abe8eb0def41ee8617aea04c4f18f07d95e8.zip
external_llvm-fae0abe8eb0def41ee8617aea04c4f18f07d95e8.tar.gz
external_llvm-fae0abe8eb0def41ee8617aea04c4f18f07d95e8.tar.bz2
LoopInstSimplify preserves ScalarEvolution.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125368 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 5d7e431..af25c5c 100644
--- a/lib/Transforms/Scalar/LoopInstSimplify.cpp
+++ b/lib/Transforms/Scalar/LoopInstSimplify.cpp
@@ -42,6 +42,7 @@ namespace {
AU.addRequiredID(LoopSimplifyID);
AU.addPreservedID(LoopSimplifyID);
AU.addPreservedID(LCSSAID);
+ AU.addPreserved("scalar-evolution");
}
};
}