From fae0abe8eb0def41ee8617aea04c4f18f07d95e8 Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Fri, 11 Feb 2011 06:08:25 +0000 Subject: [PATCH] LoopInstSimplify preserves ScalarEvolution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125368 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/LoopInstSimplify.cpp | 1 + 1 file changed, 1 insertion(+) 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"); } }; } -- 2.34.1