Use "opt < %s" instead of "opt %s" so that opt doesn't print the test

filename in the output, which interferes with the tests' grep lines.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2009-09-08 22:57:49 +00:00
parent 2ba62ef7f2
commit 9c7a988e3b
5 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
; RUN: opt %s -reassociate -dce -S | \
; RUN: opt < %s -reassociate -dce -S | \
; RUN: not grep {\\(and\\|sub\\)}
define i32 @test1(i32 %a, i32 %b) {