diff options
| author | James Molloy <james.molloy@arm.com> | 2014-10-03 09:29:24 +0000 |
|---|---|---|
| committer | James Molloy <james.molloy@arm.com> | 2014-10-03 09:29:24 +0000 |
| commit | cb7449d0582991c5d788e3328f0c6e0b3048526e (patch) | |
| tree | 3dec59aa376c53ea9f31055baf0a6007b6b55378 /llvm/test/Transforms/JumpThreading | |
| parent | 9e3c7cbfa19fca397682c87271a7b63566c67a8a (diff) | |
| download | bcm5719-llvm-cb7449d0582991c5d788e3328f0c6e0b3048526e.tar.gz bcm5719-llvm-cb7449d0582991c5d788e3328f0c6e0b3048526e.zip | |
Revert r215343.
This was contentious and needs invesigation.
llvm-svn: 218971
Diffstat (limited to 'llvm/test/Transforms/JumpThreading')
| -rw-r--r-- | llvm/test/Transforms/JumpThreading/jump_threading.ll | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/llvm/test/Transforms/JumpThreading/jump_threading.ll b/llvm/test/Transforms/JumpThreading/jump_threading.ll deleted file mode 100644 index f5a0ead3d90..00000000000 --- a/llvm/test/Transforms/JumpThreading/jump_threading.ll +++ /dev/null @@ -1,33 +0,0 @@ -; RUN: opt < %s -jump-threading -S | FileCheck %s - -define i32 @test_jump_threading(i32* %arg1, i32 %arg2) { -entry: - %cmp = icmp slt i32 %arg2, 0 - br i1 %cmp, label %land.lhs.true, label %lor.rhs - -land.lhs.true: - %ident = getelementptr inbounds i32 * %arg1, i64 0 - %0 = load i32* %ident, align 4 - %cmp1 = icmp eq i32 %0, 1 - br i1 %cmp1, label %lor.end, label %lor.rhs - -; CHECK: br i1 %cmp1, label %lor.end, label %lor.rhs.thread - -; CHECK: lor.rhs.thread: -; CHECK-NEXT: br label %lor.end - -lor.rhs: - %cmp2 = icmp sgt i32 %arg2, 0 - br i1 %cmp2, label %land.rhs, label %lor.end - -land.rhs: - %ident3 = getelementptr inbounds i32 * %arg1, i64 0 - %1 = load i32* %ident3, align 4 - %cmp4 = icmp eq i32 %1, 2 - br label %lor.end - -lor.end: - %2 = phi i1 [ true, %land.lhs.true ], [ false, %lor.rhs ], [ %cmp4, %land.rhs ] - %lor.ext = zext i1 %2 to i32 - ret i32 %lor.ext -} |

