Fix test.
[oota-llvm.git] / test / Transforms / LowerInvoke / 2005-08-03-InvokeWithPHI.ll
index 51f3fb2a029b7d93876ec50fa699ea82ebfa33dc..1057ad7057cc05491609202a34a53c62d3f05424 100644 (file)
@@ -1,20 +1,17 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -lowerinvoke -enable-correct-eh-support -disable-output
+; RUN: opt < %s -lowerinvoke -enable-correct-eh-support -disable-output
 
-implementation   ; Functions:
+declare void @ll_listnext__listiterPtr()
 
-declare void %ll_listnext__listiterPtr()
-
-void %WorkTask.fn() {
+define void @WorkTask.fn() {
 block0:
-       invoke void %ll_listnext__listiterPtr( )
+       invoke void @ll_listnext__listiterPtr( )
                        to label %block9 unwind label %block8_exception_handling
-
 block8_exception_handling:             ; preds = %block0
        ret void
-
 block9:                ; preds = %block0
-       %w_2690 = phi { int, int }* [ null, %block0 ]           ; <{ int, int }*> [#uses=1]
-       %tmp.129 = getelementptr { int, int }* %w_2690, int 0, uint 1           ; <int*> [#uses=1]
-       %v2769 = load int* %tmp.129             ; <int> [#uses=0]
+       %w_2690 = phi { i32, i32 }* [ null, %block0 ]           ; <{ i32, i32 }*> [#uses=1]
+       %tmp.129 = getelementptr { i32, i32 }* %w_2690, i32 0, i32 1            ; <i32*> [#uses=1]
+       %v2769 = load i32* %tmp.129             ; <i32> [#uses=0]
        ret void
 }
+