Change tests from "opt %s" to "opt < %s" so that opt doesn't see the

input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2009-09-11 18:01:28 +00:00
parent 597f9797fd
commit f2f6ce65b7
1273 changed files with 1366 additions and 1366 deletions

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -disable-output
; RUN: opt < %s -predsimplify -disable-output
define fastcc void @_ov_splice(i32 %n1, i32 %n2, i32 %ch2) {
entry:

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -disable-output
; RUN: opt < %s -predsimplify -disable-output
define void @safe_strcpy(i32 %size1) {
entry:

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -disable-output
; RUN: opt < %s -predsimplify -disable-output
define void @gs_image_next() {
entry:

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -S | 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,4 +1,4 @@
; RUN: opt %s -predsimplify -disable-output
; RUN: opt < %s -predsimplify -disable-output
define void @readMotionInfoFromNAL() {
entry:

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -disable-output
; RUN: opt < %s -predsimplify -disable-output
define i32 @test_wp_B_slice(i32 %select_method) {
entry:

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -disable-output
; RUN: opt < %s -predsimplify -disable-output
define void @diff(i32 %N) {
entry:

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -disable-output
; RUN: opt < %s -predsimplify -disable-output
%struct.cube_struct = type { i32, i32, i32, i32*, i32*, i32*, i32*, i32*, i32*, i32*, i32**, i32**, i32*, i32*, i32, i32, i32*, i32, i32 }
@cube = external global %struct.cube_struct ; <%struct.cube_struct*> [#uses=2]

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -disable-output
; RUN: opt < %s -predsimplify -disable-output
; END.
target datalayout = "e-p:32:32"
target triple = "i686-pc-linux-gnu"

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -disable-output
; RUN: opt < %s -predsimplify -disable-output
define void @ercMarkCurrMBConcealed(i32 %comp) {
entry:

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -S | 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 -S | 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,4 +1,4 @@
; RUN: opt %s -predsimplify -verify
; RUN: opt < %s -predsimplify -verify
define void @dgefa() {
entry:

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -verify
; RUN: opt < %s -predsimplify -verify
target datalayout = "e-p:32:32"
target triple = "i686-pc-linux-gnu"
deplibs = [ "c", "crtend" ]

View File

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

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -predsimplify -disable-output
; RUN: opt < %s -predsimplify -disable-output
target datalayout = "e-p:32:32"
target triple = "i686-pc-linux-gnu"