diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-07-02 18:37:59 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-07-02 18:37:59 +0000 |
commit | 49589f0d0e35f643e697ab7ae8a51a530d38b0d8 (patch) | |
tree | a8ead242b50930da01de9e4a02ac519fe7b5518c /test/Transforms/MergeFunc | |
parent | 506bb19d10fd3f1a9486e9c8bef632f13da8fe4a (diff) | |
download | llvm-49589f0d0e35f643e697ab7ae8a51a530d38b0d8.tar.gz llvm-49589f0d0e35f643e697ab7ae8a51a530d38b0d8.tar.bz2 llvm-49589f0d0e35f643e697ab7ae8a51a530d38b0d8.tar.xz |
Convert the uses of '|&' to use '2>&1 |' instead, which works on old
versions of Bash. In addition, I can back out the change to the lit
built-in shell test runner to support this.
This should fix the majority of fallout on Darwin, but I suspect there
will be a few straggling issues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/MergeFunc')
-rw-r--r-- | test/Transforms/MergeFunc/phi-speculation1.ll | 2 | ||||
-rw-r--r-- | test/Transforms/MergeFunc/phi-speculation2.ll | 2 | ||||
-rw-r--r-- | test/Transforms/MergeFunc/vector.ll | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/MergeFunc/phi-speculation1.ll b/test/Transforms/MergeFunc/phi-speculation1.ll index 7b2a2fe5d5..d05d028728 100644 --- a/test/Transforms/MergeFunc/phi-speculation1.ll +++ b/test/Transforms/MergeFunc/phi-speculation1.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -mergefunc -stats -disable-output |& not grep {functions merged} +; RUN: opt < %s -mergefunc -stats -disable-output 2>&1 | not grep {functions merged} define i32 @foo1(i32 %x) { entry: diff --git a/test/Transforms/MergeFunc/phi-speculation2.ll b/test/Transforms/MergeFunc/phi-speculation2.ll index 8829087d14..eec8b5c5a9 100644 --- a/test/Transforms/MergeFunc/phi-speculation2.ll +++ b/test/Transforms/MergeFunc/phi-speculation2.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -mergefunc -stats -disable-output |& grep "functions merged" +; RUN: opt < %s -mergefunc -stats -disable-output 2>&1 | grep "functions merged" define i32 @foo1(i32 %x) { entry: diff --git a/test/Transforms/MergeFunc/vector.ll b/test/Transforms/MergeFunc/vector.ll index 96ba4a56aa..4af079f8cd 100644 --- a/test/Transforms/MergeFunc/vector.ll +++ b/test/Transforms/MergeFunc/vector.ll @@ -1,4 +1,4 @@ -; RUN: opt -mergefunc -stats -disable-output < %s |& grep "functions merged" +; RUN: opt -mergefunc -stats -disable-output < %s 2>&1 | grep "functions merged" ; This test is checks whether we can merge ; vector<intptr_t>::push_back(0) |