blob: 22bfa0f0fb3d67e3fa5eeb5477c8aa2557b26282 [file] [log] [blame]
Chris Lattner999b8142005-08-03 18:51:15 +00001; RUN: llvm-as < %s | 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}