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 -loop-unswitch -disable-output
; RUN: opt < %s -loop-unswitch -disable-output
; END.
target datalayout = "E-p:32:32"

View File

@ -1,4 +1,4 @@
; RUN: opt %s -loop-unswitch -disable-output
; RUN: opt < %s -loop-unswitch -disable-output
define void @sort_Eq(i32* %S2) {
entry:

View File

@ -1,4 +1,4 @@
; RUN: opt %s -loop-unswitch -disable-output
; RUN: opt < %s -loop-unswitch -disable-output
%struct.BLEND_MAP = type { i16, i16, i16, i32, %struct.BLEND_MAP_ENTRY* }
%struct.BLEND_MAP_ENTRY = type { float, i8, { [5 x float], [4 x i8] } }

View File

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

View File

@ -1,5 +1,5 @@
; PR1333
; RUN: opt %s -loop-unswitch -disable-output
; RUN: opt < %s -loop-unswitch -disable-output
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
target triple = "i686-pc-linux-gnu"

View File

@ -1,4 +1,4 @@
; RUN: opt %s -loop-unswitch -instcombine -disable-output
; RUN: opt < %s -loop-unswitch -instcombine -disable-output
@str3 = external constant [3 x i8] ; <[3 x i8]*> [#uses=1]

View File

@ -1,4 +1,4 @@
; RUN: opt %s -loop-unswitch -disable-output
; RUN: opt < %s -loop-unswitch -disable-output
define i32 @main(i32 %argc, i8** %argv) {
entry:

View File

@ -1,4 +1,4 @@
; RUN: opt %s -loop-unswitch -disable-output
; RUN: opt < %s -loop-unswitch -disable-output
; PR1559
target triple = "i686-pc-linux-gnu"

View File

@ -1,4 +1,4 @@
; RUN: opt %s -licm -loop-unswitch -disable-output
; RUN: opt < %s -licm -loop-unswitch -disable-output
; PR 1589
%struct.QBasicAtomic = type { i32 }

View File

@ -1,4 +1,4 @@
; RUN: opt %s -loop-unswitch -instcombine -disable-output
; RUN: opt < %s -loop-unswitch -instcombine -disable-output
%struct.ClassDef = type { %struct.QByteArray, %struct.QByteArray, %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", i8, i8, %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QList<ArgumentDef>", %"struct.QMap<QByteArray,QByteArray>", %"struct.QList<ArgumentDef>", %"struct.QMap<QByteArray,QByteArray>", i32, i32 }
%struct.FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct.FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i32, i32, [40 x i8] }
%struct.Generator = type { %struct.FILE*, %struct.ClassDef*, %"struct.QList<ArgumentDef>", %struct.QByteArray, %"struct.QList<ArgumentDef>" }

View File

@ -1,4 +1,4 @@
; RUN: opt %s -licm -loop-unroll -disable-output
; RUN: opt < %s -licm -loop-unroll -disable-output
@resonant = external global i32 ; <i32*> [#uses=2]

View File

@ -1,4 +1,4 @@
; RUN: opt %s -loop-unswitch -instcombine -gvn -disable-output
; RUN: opt < %s -loop-unswitch -instcombine -gvn -disable-output
; PR2372
target triple = "i386-pc-linux-gnu"

View File

@ -1,4 +1,4 @@
; RUN: opt %s -licm -loop-unswitch -disable-output
; RUN: opt < %s -licm -loop-unswitch -disable-output
@g_56 = external global i16 ; <i16*> [#uses=2]
define i32 @func_67(i32 %p_68, i8 signext %p_69, i8 signext %p_71) nounwind {

View File

@ -1,4 +1,4 @@
; RUN: opt %s -loop-unswitch -stats -disable-output |& grep "1 loop-unswitch - Number of branches unswitched" | count 1
; RUN: opt < %s -loop-unswitch -stats -disable-output |& grep "1 loop-unswitch - Number of branches unswitched" | count 1
; PR 3170
define i32 @a(i32 %x, i32 %y) nounwind {
entry:

View File

@ -1,4 +1,4 @@
; RUN: opt %s -loop-unswitch -disable-output
; RUN: opt < %s -loop-unswitch -disable-output
define i32 @test(i32* %A, i1 %C) {
entry: