diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-06 19:21:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-06 19:21:48 +0000 |
commit | 82114b98c9da043d97a39a07255518dbc00ba522 (patch) | |
tree | ea065255efb1a106d136d2cb3d8c0948fc0dbf1e /test/Transforms/JumpThreading/crash.ll | |
parent | 90b924737750732fca2bd033b1315fd81891a14b (diff) |
Fix a problem discovered on self host.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/JumpThreading/crash.ll')
-rw-r--r-- | test/Transforms/JumpThreading/crash.ll | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/Transforms/JumpThreading/crash.ll b/test/Transforms/JumpThreading/crash.ll index 862b40378b..7e2a2a047d 100644 --- a/test/Transforms/JumpThreading/crash.ll +++ b/test/Transforms/JumpThreading/crash.ll @@ -170,3 +170,25 @@ bb32.i: ret i32 1 } + +define fastcc void @test5(i1 %tmp, i32 %tmp1) nounwind ssp { +entry: + br i1 %tmp, label %bb12, label %bb13 + + +bb12: + br label %bb13 + +bb13: + %.lcssa31 = phi i32 [ undef, %bb12 ], [ %tmp1, %entry ] + %A = and i1 undef, undef + br i1 %A, label %bb15, label %bb61 + +bb15: + ret void + + +bb61: + ret void +} + |