llvm.org GIT mirror llvm / 7d10417
new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10381 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 15 years ago
1 changed file(s) with 24 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; This testcase was reduced from Shootout-C++/reversefile.cpp by bugpoint
1
2 ; RUN: llvm-as < %s | opt -lowerinvoke -disable-output
3
4 declare void %baz()
5
6 declare void %bar()
7
8 void %foo() {
9 then: ; preds = %entry
10 invoke void %baz( )
11 to label %invoke_cont.0 except label %try_catch
12
13 invoke_cont.0: ; preds = %then
14 invoke void %bar( )
15 to label %try_exit except label %try_catch
16
17 try_catch: ; preds = %then, %invoke_cont.0
18 %__tmp.0 = phi int* [ null, %invoke_cont.0 ], [ null, %then ]
19 ret void
20
21 try_exit: ; preds = %invoke_cont.0
22 ret void
23 }