blob: 636625743a53993db148b2e360488e360ac8882d [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
3declare fastcc int %ll_listnext__listiterPtr()
4
5fastcc int %WorkTask.fn() {
6block0:
7 %v2679 = invoke fastcc int %ll_listnext__listiterPtr( )
8 to label %block9 unwind label %block8_exception_handling ; <int> [#uses=1]
9
10block8_exception_handling: ; preds = %block0
11 ret int 0
12
13block9: ; preds = %block0
14 %i_2689 = phi int [ %v2679, %block0 ] ; <int> [#uses=0]
15 ret int %i_2689
16}