aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-09 00:22:49 +0000
committerDan Gohman <gohman@apple.com>2009-09-09 00:22:49 +0000
commit0c23b6858fecc7fb7145201aa82d24c2bcf10c33 (patch)
treebeb11cf797f9c86d7cd1539c8a6e0cc300374b4e /test/Transforms
parentf43b45282fff7eb091bd1ed3d4b11680e410be72 (diff)
downloadexternal_llvm-0c23b6858fecc7fb7145201aa82d24c2bcf10c33.zip
external_llvm-0c23b6858fecc7fb7145201aa82d24c2bcf10c33.tar.gz
external_llvm-0c23b6858fecc7fb7145201aa82d24c2bcf10c33.tar.bz2
Use "opt < %s" instead of "opt %s" to keep the testname away from the grep.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/InstCombine/apint-shift-simplify.ll2
-rw-r--r--test/Transforms/InstCombine/shift-simplify.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/apint-shift-simplify.ll b/test/Transforms/InstCombine/apint-shift-simplify.ll
index 421069a..1a3340a 100644
--- a/test/Transforms/InstCombine/apint-shift-simplify.ll
+++ b/test/Transforms/InstCombine/apint-shift-simplify.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt < %s -instcombine -S | \
; RUN: egrep {shl|lshr|ashr} | count 3
define i41 @test0(i41 %A, i41 %B, i41 %C) {
diff --git a/test/Transforms/InstCombine/shift-simplify.ll b/test/Transforms/InstCombine/shift-simplify.ll
index b18414d..e5cc705 100644
--- a/test/Transforms/InstCombine/shift-simplify.ll
+++ b/test/Transforms/InstCombine/shift-simplify.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -instcombine -S | \
+; RUN: opt < %s -instcombine -S | \
; RUN: egrep {shl|lshr|ashr} | count 3
define i32 @test0(i32 %A, i32 %B, i32 %C) {