aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/JumpThreading/basic.ll
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-11-07 01:32:59 +0000
committerDevang Patel <dpatel@apple.com>2009-11-07 01:32:59 +0000
commit12d53dba36905d20b02cf7c4cdae057ae4a5a5e1 (patch)
treeed733ae476f914c3400fe24e5ba8a0affe019b0b /test/Transforms/JumpThreading/basic.ll
parent0430152a11ccf5f6079d97c519b4a86dd49739e7 (diff)
downloadexternal_llvm-12d53dba36905d20b02cf7c4cdae057ae4a5a5e1.zip
external_llvm-12d53dba36905d20b02cf7c4cdae057ae4a5a5e1.tar.gz
external_llvm-12d53dba36905d20b02cf7c4cdae057ae4a5a5e1.tar.bz2
Revert following patches to fix llvmgcc bootstrap.
86289, 86278, 86270, 86267, 86266 & 86264 Chris, please take a look. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/JumpThreading/basic.ll')
-rw-r--r--test/Transforms/JumpThreading/basic.ll31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/Transforms/JumpThreading/basic.ll b/test/Transforms/JumpThreading/basic.ll
index 7b444ad..3d936b8 100644
--- a/test/Transforms/JumpThreading/basic.ll
+++ b/test/Transforms/JumpThreading/basic.ll
@@ -170,36 +170,5 @@ BB4:
}
-;; This tests that the branch in 'merge' can be cloned up into T1.
-;; rdar://7367025
-define i32 @test7(i1 %cond, i1 %cond2) {
-Entry:
-; CHECK: @test7
- %v1 = call i32 @f1()
- br i1 %cond, label %Merge, label %F1
-
-F1:
- %v2 = call i32 @f2()
- br label %Merge
-
-Merge:
- %B = phi i32 [%v1, %Entry], [%v2, %F1]
- %M = icmp ne i32 %B, %v1
- %N = icmp eq i32 %B, 47
- %O = and i1 %M, %N
- br i1 %O, label %T2, label %F2
-; CHECK: Merge:
-; CHECK-NOT: phi
-; CHECK-NEXT: %v2 = call i32 @f2()
-
-T2:
- call void @f3()
- ret i32 %B
-
-F2:
- ret i32 %B
-; CHECK: F2:
-; CHECK-NEXT: phi i32
-}