blob: a0d21860ca1c19a5d4677bf32247f83bfdd0a2e6 [file] [log] [blame]
Chris Lattner52261102005-08-03 18:33:48 +00001; RUN: llvm-as < %s | 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}