diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-02-11 06:08:25 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-02-11 06:08:25 +0000 |
commit | fae0abe8eb0def41ee8617aea04c4f18f07d95e8 (patch) | |
tree | 920bee734abd391344dae0d6f0d466653adc839b /lib/Transforms/Scalar/LoopInstSimplify.cpp | |
parent | 354c5b9bcf01b8da142fa03f465890f30a44dbfc (diff) | |
download | external_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.cpp | 1 |
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"); } }; } |