diff options
author | Andrew Trick <atrick@apple.com> | 2011-09-15 20:58:37 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-09-15 20:58:37 +0000 |
commit | b0598b14aa011a18e6a760e448741f62018fb4a3 (patch) | |
tree | 8ac3a818bc27cc63605b3a039a14a7f65cfc2f41 /test | |
parent | ed15ab1aadea6216b30ccfc659b194d09f44ca14 (diff) | |
download | external_llvm-b0598b14aa011a18e6a760e448741f62018fb4a3.zip external_llvm-b0598b14aa011a18e6a760e448741f62018fb4a3.tar.gz external_llvm-b0598b14aa011a18e6a760e448741f62018fb4a3.tar.bz2 |
Reapply r139759. Disable IV rewriting by default. See PR10916.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/IndVarSimplify/floating-point-iv.ll | 2 | ||||
-rw-r--r-- | test/Transforms/LoopUnroll/scevunroll.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/IndVarSimplify/floating-point-iv.ll b/test/Transforms/IndVarSimplify/floating-point-iv.ll index e334f06..266eebd 100644 --- a/test/Transforms/IndVarSimplify/floating-point-iv.ll +++ b/test/Transforms/IndVarSimplify/floating-point-iv.ll @@ -87,6 +87,6 @@ exit: ret void ; CHECK: @test5 -; CHECK: icmp eq i32 {{.*}}, 10 +; CHECK: icmp slt i32 {{.*}}, 0 ; CHECK-NEXT: br i1 } diff --git a/test/Transforms/LoopUnroll/scevunroll.ll b/test/Transforms/LoopUnroll/scevunroll.ll index 9971f31..99b3a7d 100644 --- a/test/Transforms/LoopUnroll/scevunroll.ll +++ b/test/Transforms/LoopUnroll/scevunroll.ll @@ -67,7 +67,7 @@ exit2: ; SCEV properly unrolls multi-exit loops. ; ; CHECK: @multiExit -; CHECK: getelementptr i32* %base, i64 10 +; CHECK: getelementptr i32* %base, i32 10 ; CHECK-NEXT: load i32* ; CHECK: br i1 false, label %l2.10, label %exit1 ; CHECK: l2.10: |