From: Cameron Zwarich Date: Fri, 11 Feb 2011 06:08:25 +0000 (+0000) Subject: LoopInstSimplify preserves ScalarEvolution. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fae0abe8eb0def41ee8617aea04c4f18f07d95e8;p=oota-llvm.git LoopInstSimplify preserves ScalarEvolution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125368 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/LoopInstSimplify.cpp b/lib/Transforms/Scalar/LoopInstSimplify.cpp index 5d7e431221e..af25c5c1a66 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"); } }; }