aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/JumpThreading/crash.ll
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-07-26 18:44:56 +0000
committerOwen Anderson <resistor@mac.com>2010-07-26 18:44:56 +0000
commit88dafec7f931f2cbb91be0857030768e4c6c2e03 (patch)
tree3c42ea4a0e9a5f2df9829fdd3bf453209435c9ee /test/Transforms/JumpThreading/crash.ll
parent0944795b8c84612303e9de00bc7e9ea362441227 (diff)
Fix a test with malformed IR. Not sure why this didn't fail before.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/JumpThreading/crash.ll')
-rw-r--r--test/Transforms/JumpThreading/crash.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Transforms/JumpThreading/crash.ll b/test/Transforms/JumpThreading/crash.ll
index f0fc61e737..4fe94e5ea0 100644
--- a/test/Transforms/JumpThreading/crash.ll
+++ b/test/Transforms/JumpThreading/crash.ll
@@ -216,6 +216,9 @@ bb61:
; PR5698
define void @test7(i32 %x) {
+entry:
+ br label %tailrecurse
+
tailrecurse:
switch i32 %x, label %return [
i32 2, label %bb2