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
@@ -1,6 +1,6 @@
; This testcase was reduced from Shootout-C++/reversefile.cpp by bugpoint
; RUN: opt %s -lowerinvoke -disable-output
; RUN: opt < %s -lowerinvoke -disable-output
declare void @baz()
@@ -1,4 +1,4 @@
; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
; RUN: opt < %s -lowerinvoke -enable-correct-eh-support -disable-output
define void @_ZNKSt11__use_cacheISt16__numpunct_cacheIcEEclERKSt6locale() {
entry:
@@ -1,4 +1,4 @@
; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
; RUN: opt < %s -lowerinvoke -enable-correct-eh-support -disable-output
declare void @ll_listnext__listiterPtr()
@@ -1,4 +1,4 @@
; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
; RUN: opt < %s -lowerinvoke -enable-correct-eh-support -disable-output
declare fastcc i32 @ll_listnext__listiterPtr()
@@ -1,4 +1,4 @@
; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
; RUN: opt < %s -lowerinvoke -enable-correct-eh-support -disable-output
; PR2029
define i32 @main(i32 %argc, i8** %argv) {
bb470:
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: opt %s -lowerinvoke -disable-output -enable-correct-eh-support
; RUN: opt < %s -lowerinvoke -disable-output -enable-correct-eh-support
define i32 @foo() {