[llvm-commits] [llvm] r139583 - in /llvm/trunk: lib/Transforms/Scalar/IndVarSimplify.cpp test/Transforms/IndVarSimplify/floating-point-iv.ll test/Transforms/LoopUnroll/scevunroll.ll
Andrew Trick
atrick at apple.com
Mon Sep 12 22:23:49 PDT 2011
Author: atrick
Date: Tue Sep 13 00:23:49 2011
New Revision: 139583
URL: http://llvm.org/viewvc/llvm-project?rev=139583&view=rev
Log:
[indvars] Revert r139579 until 401.bzip -arch i386 miscompilation is fixed. PR10920.
Modified:
llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
llvm/trunk/test/Transforms/IndVarSimplify/floating-point-iv.ll
llvm/trunk/test/Transforms/LoopUnroll/scevunroll.ll
Modified: llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp?rev=139583&r1=139582&r2=139583&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp Tue Sep 13 00:23:49 2011
@@ -60,7 +60,7 @@
namespace llvm {
cl::opt<bool> EnableIVRewrite(
- "enable-iv-rewrite", cl::Hidden,
+ "enable-iv-rewrite", cl::Hidden, cl::init(true),
cl::desc("Enable canonical induction variable rewriting"));
// Trip count verification can be enabled by default under NDEBUG if we
Modified: llvm/trunk/test/Transforms/IndVarSimplify/floating-point-iv.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/IndVarSimplify/floating-point-iv.ll?rev=139583&r1=139582&r2=139583&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/IndVarSimplify/floating-point-iv.ll (original)
+++ llvm/trunk/test/Transforms/IndVarSimplify/floating-point-iv.ll Tue Sep 13 00:23:49 2011
@@ -87,6 +87,6 @@
ret void
; CHECK: @test5
-; CHECK: icmp slt i32 {{.*}}, 0
+; CHECK: icmp eq i32 {{.*}}, 10
; CHECK-NEXT: br i1
}
Modified: llvm/trunk/test/Transforms/LoopUnroll/scevunroll.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopUnroll/scevunroll.ll?rev=139583&r1=139582&r2=139583&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopUnroll/scevunroll.ll (original)
+++ llvm/trunk/test/Transforms/LoopUnroll/scevunroll.ll Tue Sep 13 00:23:49 2011
@@ -67,7 +67,7 @@
; SCEV properly unrolls multi-exit loops.
;
; CHECK: @multiExit
-; CHECK: getelementptr i32* %base, i32 10
+; CHECK: getelementptr i32* %base, i64 10
; CHECK-NEXT: load i32*
; CHECK: br i1 false, label %l2.10, label %exit1
; CHECK: l2.10:
More information about the llvm-commits
mailing list