From 1451afe0e4367e703d76d5c282eb89acf1c60c17 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 1 Aug 2007 23:07:36 +0000 Subject: [PATCH] Make sure these tests pass for the right reasons (verifier error, rather than failure to assemble). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40696 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Verifier/invoke-1.ll | 10 +++++----- test/Verifier/invoke-2.ll | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/Verifier/invoke-1.ll b/test/Verifier/invoke-1.ll index 362f2680993..dd606f09c82 100644 --- a/test/Verifier/invoke-1.ll +++ b/test/Verifier/invoke-1.ll @@ -1,10 +1,10 @@ -; RUN: not llvm-as < %s -o /dev/null -f +; RUN: llvm-upgrade < %s | not llvm-as &| grep {not verify as correct} ; PR1042 int %foo() { - %A = invoke int %foo( ) - to label %L unwind label %L ; [#uses=1] + %A = invoke int %foo( ) + to label %L unwind label %L ; [#uses=1] -L: ; preds = %0, %0 - ret int %A +L: ; preds = %0, %0 + ret int %A } diff --git a/test/Verifier/invoke-2.ll b/test/Verifier/invoke-2.ll index b3a5750fee5..5ab038648db 100644 --- a/test/Verifier/invoke-2.ll +++ b/test/Verifier/invoke-2.ll @@ -1,4 +1,4 @@ -; RUN: not llvm-as < %s -o /dev/null -f +; RUN: llvm-upgrade < %s | not llvm-as -f &| grep {not verify as correct} ; PR1042 int %foo() {