aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/or-to-xor.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-08 22:57:49 +0000
committerDan Gohman <gohman@apple.com>2009-09-08 22:57:49 +0000
commit9c7a988e3b014ed56e6765f9ceb68d80d56414c0 (patch)
treece8a83d128369dc8572b5b3d6421f71ec8d13577 /test/Transforms/InstCombine/or-to-xor.ll
parent2ba62ef7f201b2e8f61c6988e76b40c7c8a6a191 (diff)
downloadexternal_llvm-9c7a988e3b014ed56e6765f9ceb68d80d56414c0.zip
external_llvm-9c7a988e3b014ed56e6765f9ceb68d80d56414c0.tar.gz
external_llvm-9c7a988e3b014ed56e6765f9ceb68d80d56414c0.tar.bz2
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
Diffstat (limited to 'test/Transforms/InstCombine/or-to-xor.ll')
-rw-r--r--test/Transforms/InstCombine/or-to-xor.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/or-to-xor.ll b/test/Transforms/InstCombine/or-to-xor.ll
index 7cab543..1495ee4 100644
--- a/test/Transforms/InstCombine/or-to-xor.ll
+++ b/test/Transforms/InstCombine/or-to-xor.ll
@@ -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: