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