diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-11 18:01:28 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-11 18:01:28 +0000 |
commit | 18800927221ce81d454948dd196c3a9049b6e6c3 (patch) | |
tree | 23b5a6121dac26f29af089e88b2a8c787ecf1bf8 /llvm/test/CodeGen | |
parent | af494faa57daee0ae115de27f97cbfe9d712c276 (diff) | |
download | bcm5719-llvm-18800927221ce81d454948dd196c3a9049b6e6c3.tar.gz bcm5719-llvm-18800927221ce81d454948dd196c3a9049b6e6c3.zip |
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.
llvm-svn: 81537
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r-- | llvm/test/CodeGen/Generic/GC/argpromotion.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/Generic/GC/deadargelim.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/Generic/GC/inline.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/Generic/GC/inline2.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/PowerPC/ppcf128-1.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/PowerPC/vec_shuffle.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/2009-03-23-i80-fp80.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/asm-block-labels.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/nancvt.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/vec_ins_extract.ll | 2 |
10 files changed, 12 insertions, 12 deletions
diff --git a/llvm/test/CodeGen/Generic/GC/argpromotion.ll b/llvm/test/CodeGen/Generic/GC/argpromotion.ll index d4344a0e0d0..dda376d6168 100644 --- a/llvm/test/CodeGen/Generic/GC/argpromotion.ll +++ b/llvm/test/CodeGen/Generic/GC/argpromotion.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -anders-aa -argpromotion +; RUN: opt < %s -anders-aa -argpromotion declare void @llvm.gcroot(i8**, i8*) diff --git a/llvm/test/CodeGen/Generic/GC/deadargelim.ll b/llvm/test/CodeGen/Generic/GC/deadargelim.ll index 4ee0b87a6e1..176019020ad 100644 --- a/llvm/test/CodeGen/Generic/GC/deadargelim.ll +++ b/llvm/test/CodeGen/Generic/GC/deadargelim.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -deadargelim +; RUN: opt < %s -deadargelim declare void @llvm.gcroot(i8**, i8*) diff --git a/llvm/test/CodeGen/Generic/GC/inline.ll b/llvm/test/CodeGen/Generic/GC/inline.ll index 5dd171abd2e..9da33aef8dd 100644 --- a/llvm/test/CodeGen/Generic/GC/inline.ll +++ b/llvm/test/CodeGen/Generic/GC/inline.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -inline -S | grep example +; RUN: opt < %s -inline -S | grep example %IntArray = type { i32, [0 x i32*] } diff --git a/llvm/test/CodeGen/Generic/GC/inline2.ll b/llvm/test/CodeGen/Generic/GC/inline2.ll index ad98e3e3453..15947056ee3 100644 --- a/llvm/test/CodeGen/Generic/GC/inline2.ll +++ b/llvm/test/CodeGen/Generic/GC/inline2.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -inline -S | grep sample -; RUN: opt %s -inline -S | grep example +; RUN: opt < %s -inline -S | grep sample +; RUN: opt < %s -inline -S | grep example %IntArray = type { i32, [0 x i32*] } diff --git a/llvm/test/CodeGen/PowerPC/ppcf128-1.ll b/llvm/test/CodeGen/PowerPC/ppcf128-1.ll index a4dbdf4d43f..1047fe5d3ba 100644 --- a/llvm/test/CodeGen/PowerPC/ppcf128-1.ll +++ b/llvm/test/CodeGen/PowerPC/ppcf128-1.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -std-compile-opts | llc > %t +; RUN: opt < %s -std-compile-opts | llc > %t ; ModuleID = 'ld3.c' 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-f128:64:128" target triple = "powerpc-apple-darwin8" diff --git a/llvm/test/CodeGen/PowerPC/vec_shuffle.ll b/llvm/test/CodeGen/PowerPC/vec_shuffle.ll index e234f062898..82706321c1c 100644 --- a/llvm/test/CodeGen/PowerPC/vec_shuffle.ll +++ b/llvm/test/CodeGen/PowerPC/vec_shuffle.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -instcombine | \ +; RUN: opt < %s -instcombine | \ ; RUN: llc -march=ppc32 -mcpu=g5 | not grep vperm ; RUN: llc < %s -march=ppc32 -mcpu=g5 > %t ; RUN: grep vsldoi %t | count 2 diff --git a/llvm/test/CodeGen/X86/2009-03-23-i80-fp80.ll b/llvm/test/CodeGen/X86/2009-03-23-i80-fp80.ll index 7eadda86e60..e542325b636 100644 --- a/llvm/test/CodeGen/X86/2009-03-23-i80-fp80.ll +++ b/llvm/test/CodeGen/X86/2009-03-23-i80-fp80.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -instcombine -S | grep 302245289961712575840256 -; RUN: opt %s -instcombine -S | grep K40018000000000000000 +; RUN: opt < %s -instcombine -S | grep 302245289961712575840256 +; RUN: opt < %s -instcombine -S | grep K40018000000000000000 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-f80:128:128" target triple = "i686-apple-darwin9" diff --git a/llvm/test/CodeGen/X86/asm-block-labels.ll b/llvm/test/CodeGen/X86/asm-block-labels.ll index a67a2128f69..a43d4302319 100644 --- a/llvm/test/CodeGen/X86/asm-block-labels.ll +++ b/llvm/test/CodeGen/X86/asm-block-labels.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -std-compile-opts | llc +; RUN: opt < %s -std-compile-opts | llc ; ModuleID = 'block12.c' 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-f80:128:128" target triple = "i686-apple-darwin8" diff --git a/llvm/test/CodeGen/X86/nancvt.ll b/llvm/test/CodeGen/X86/nancvt.ll index 28ee39380f6..0b56644f125 100644 --- a/llvm/test/CodeGen/X86/nancvt.ll +++ b/llvm/test/CodeGen/X86/nancvt.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -std-compile-opts | llc > %t +; RUN: opt < %s -std-compile-opts | llc > %t ; RUN: grep 2147027116 %t | count 3 ; RUN: grep 2147228864 %t | count 3 ; RUN: grep 2146502828 %t | count 3 diff --git a/llvm/test/CodeGen/X86/vec_ins_extract.ll b/llvm/test/CodeGen/X86/vec_ins_extract.ll index b3a61cafbe9..bf43deb1d19 100644 --- a/llvm/test/CodeGen/X86/vec_ins_extract.ll +++ b/llvm/test/CodeGen/X86/vec_ins_extract.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -scalarrepl -instcombine | \ +; RUN: opt < %s -scalarrepl -instcombine | \ ; RUN: llc -march=x86 -mcpu=yonah | not grep sub.*esp ; This checks that various insert/extract idiom work without going to the |