diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-08 22:57:49 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-08 22:57:49 +0000 |
commit | 9c7a988e3b014ed56e6765f9ceb68d80d56414c0 (patch) | |
tree | ce8a83d128369dc8572b5b3d6421f71ec8d13577 /test/Transforms/InstCombine | |
parent | 2ba62ef7f201b2e8f61c6988e76b40c7c8a6a191 (diff) | |
download | external_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')
-rw-r--r-- | test/Transforms/InstCombine/or-to-xor.ll | 4 |
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: |