aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/JumpThreading/basic.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-12 02:04:17 +0000
committerChris Lattner <sabre@nondot.org>2009-11-12 02:04:17 +0000
commit3e04a056728af4e15d0e4737445ea328b4ecbaf8 (patch)
tree57c804ca0467ad72937b87cebc67cc59988dab9a /test/Transforms/JumpThreading/basic.ll
parent72b2990a7495b9df89e151eb711c1e7abdd5f2e5 (diff)
downloadexternal_llvm-3e04a056728af4e15d0e4737445ea328b4ecbaf8.zip
external_llvm-3e04a056728af4e15d0e4737445ea328b4ecbaf8.tar.gz
external_llvm-3e04a056728af4e15d0e4737445ea328b4ecbaf8.tar.bz2
should not commit when distracted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86929 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/JumpThreading/basic.ll')
-rw-r--r--test/Transforms/JumpThreading/basic.ll7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/Transforms/JumpThreading/basic.ll b/test/Transforms/JumpThreading/basic.ll
index 89a38b2..03ce12e 100644
--- a/test/Transforms/JumpThreading/basic.ll
+++ b/test/Transforms/JumpThreading/basic.ll
@@ -291,8 +291,8 @@ declare i32 @test10f2()
declare void @test10f3()
;; Non-local condition threading.
-define i32 @test10(i1 %cond) {
-; CHECK: @test10
+define i32 @test10g(i1 %cond) {
+; CHECK: @test10g
; CHECK-NEXT: br i1 %cond, label %T2, label %F2
br i1 %cond, label %T1, label %F1
@@ -331,8 +331,7 @@ define i32 @test11(i32 %A) {
BB2:
; CHECK: call i32 @f1()
-; CHECK-NEXT: call void @f3()
-; CHECK-NEXT: ret i32 4
+; CHECK-NEXT: ret i32 %C
%C = call i32 @f1()
ret i32 %C