Use opt -S instead of piping bitcode output through llvm-dis.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81257 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2009-09-08 22:34:10 +00:00
parent f316579901
commit 3e054fe9ef
865 changed files with 973 additions and 973 deletions

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify | llvm-dis | grep br | grep return.i.bb8_crit_edge | grep false
; RUN: opt %s -predsimplify -S | grep br | grep return.i.bb8_crit_edge | grep false
@str = external global [4 x i8] ; <[4 x i8]*> [#uses=1]
declare i32 @sprintf(i8*, i8*, ...)

View File

@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | \
; RUN: opt -predsimplify -instcombine -simplifycfg | llvm-dis > %t
; RUN: opt -predsimplify -instcombine -simplifycfg -S > %t
; RUN: grep -v declare %t | not grep fail
; RUN: grep -v declare %t | grep pass | count 3

View File

@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | \
; RUN: opt -predsimplify -instcombine -simplifycfg | llvm-dis | \
; RUN: opt -predsimplify -instcombine -simplifycfg -S | \
; RUN: grep -v declare | grep pass | count 2
define i32 @test(i32 %x, i32 %y) {

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify | llvm-dis | grep -v %c
; RUN: opt %s -predsimplify -S | grep -v %c
define void @foo(i8* %X, i8* %Y) {
entry:
%A = load i8* %X

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify | llvm-dis | grep unreachable | count 2
; RUN: opt %s -predsimplify -S | grep unreachable | count 2
; PR1683
@.str = internal constant [13 x i8] c"c36174a.adb\00\00" ; <[13 x i8]*> [#uses=1]

View File

@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | \
; RUN: opt -predsimplify -instcombine -simplifycfg | llvm-dis > %t
; RUN: opt -predsimplify -instcombine -simplifycfg -S > %t
; RUN: grep -v declare %t | not grep fail
; RUN: grep -v declare %t | grep pass | count 4

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -simplifycfg | llvm-dis | grep pass
; RUN: opt %s -predsimplify -simplifycfg -S | grep pass
define void @regtest(i32 %x) {
entry: