blob: 51f3fb2a029b7d93876ec50fa699ea82ebfa33dc [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | opt -lowerinvoke -enable-correct-eh-support -disable-output
2
3implementation ; Functions:
4
5declare void %ll_listnext__listiterPtr()
6
7void %WorkTask.fn() {
8block0:
9 invoke void %ll_listnext__listiterPtr( )
10 to label %block9 unwind label %block8_exception_handling
11
12block8_exception_handling: ; preds = %block0
13 ret void
14
15block9: ; preds = %block0
16 %w_2690 = phi { int, int }* [ null, %block0 ] ; <{ int, int }*> [#uses=1]
17 %tmp.129 = getelementptr { int, int }* %w_2690, int 0, uint 1 ; <int*> [#uses=1]
18 %v2769 = load int* %tmp.129 ; <int> [#uses=0]
19 ret void
20}