Added the ability to xfail based on llvmgcc version
[llvm-complete.git] / test / Transforms / LowerInvoke / 2005-08-03-InvokeWithPHI.ll
bloba0d21860ca1c19a5d4677bf32247f83bfdd0a2e6
1 ; RUN: llvm-as < %s | opt -lowerinvoke -enable-correct-eh-support -disable-output
3 implementation   ; Functions:
5 declare void %ll_listnext__listiterPtr()
7 void %WorkTask.fn() {
8 block0:
9         invoke void %ll_listnext__listiterPtr( )
10                         to label %block9 unwind label %block8_exception_handling
12 block8_exception_handling:              ; preds = %block0
13         ret void
15 block9:         ; 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