From ab7872c06c0629ae50ea4e50eee81cde27186406 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Wed, 19 Mar 2008 07:28:33 +0000 Subject: Upgrade tests. llvm-svn: 48538 --- .../LowerInvoke/2005-08-03-InvokeWithPHI.ll | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'llvm/test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHI.ll') diff --git a/llvm/test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHI.ll b/llvm/test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHI.ll index 51f3fb2a029..10c87853728 100644 --- a/llvm/test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHI.ll +++ b/llvm/test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHI.ll @@ -1,20 +1,17 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -lowerinvoke -enable-correct-eh-support -disable-output +; RUN: llvm-as < %s | opt -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 ; [#uses=1] - %v2769 = load int* %tmp.129 ; [#uses=0] + %w_2690 = phi { i32, i32 }* [ null, %block0 ] ; <{ i32, i32 }*> [#uses=1] + %tmp.129 = getelementptr { i32, i32 }* %w_2690, i32 0, i32 1 ; [#uses=1] + %v2769 = load i32* %tmp.129 ; [#uses=0] ret void } + -- cgit v1.2.3