mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
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. llvm-svn: 81263
This commit is contained in:
parent
2b6ef7724e
commit
cd0fb89725
@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -std-compile-opts -S > %t
|
||||
; RUN: opt < %s -std-compile-opts -S > %t
|
||||
; RUN: grep undef %t | count 1
|
||||
; RUN: grep 5 %t | count 1
|
||||
; RUN: grep 7 %t | count 1
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -indvars -S > %t
|
||||
; RUN: opt < %s -indvars -S > %t
|
||||
; RUN: not grep trunc %t
|
||||
; RUN: grep and %t | count 1
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: opt %s -instcombine -S | grep {xor i32 %a, %b} | count 4
|
||||
; RUN: opt %s -instcombine -S | not grep {and}
|
||||
; RUN: opt < %s -instcombine -S | grep {xor i32 %a, %b} | count 4
|
||||
; RUN: opt < %s -instcombine -S | not grep {and}
|
||||
|
||||
define i32 @func1(i32 %a, i32 %b) nounwind readnone {
|
||||
entry:
|
||||
|
@ -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) {
|
||||
|
@ -2,9 +2,9 @@
|
||||
; logic operations.
|
||||
|
||||
|
||||
; RUN: opt %s -sccp -S | not grep and
|
||||
; RUN: opt %s -sccp -S | not grep trunc
|
||||
; RUN: opt %s -sccp -S | grep {ret i100 -1}
|
||||
; RUN: opt < %s -sccp -S | not grep and
|
||||
; RUN: opt < %s -sccp -S | not grep trunc
|
||||
; RUN: opt < %s -sccp -S | grep {ret i100 -1}
|
||||
|
||||
define i100 @test(i133 %A) {
|
||||
%B = and i133 0, %A
|
||||
|
Loading…
Reference in New Issue
Block a user