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 | 5da53436d526162bf696ba40df3841a6b5992fbd (patch) | |
| tree | 061f2e5a2277613b41b14a278e718134527edf99 /llvm/test/CodeGen/Generic | |
| parent | 9b887d11b5061226d9b19462f13f8e1de54cb4f4 (diff) | |
| download | bcm5719-llvm-5da53436d526162bf696ba40df3841a6b5992fbd.tar.gz bcm5719-llvm-5da53436d526162bf696ba40df3841a6b5992fbd.zip | |
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.
llvm-svn: 159544
Diffstat (limited to 'llvm/test/CodeGen/Generic')
| -rw-r--r-- | llvm/test/CodeGen/Generic/print-after.ll | 2 | ||||
| -rw-r--r-- | llvm/test/CodeGen/Generic/print-machineinstrs.ll | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/Generic/print-after.ll b/llvm/test/CodeGen/Generic/print-after.ll index 0c4695dce56..7505907ef77 100644 --- a/llvm/test/CodeGen/Generic/print-after.ll +++ b/llvm/test/CodeGen/Generic/print-after.ll @@ -1,4 +1,4 @@ -; RUN: not llc --help-hidden |& FileCheck %s +; RUN: not llc --help-hidden 2>&1 | FileCheck %s ; CHECK: -print-after ; CHECK-NOT: -print-after-all diff --git a/llvm/test/CodeGen/Generic/print-machineinstrs.ll b/llvm/test/CodeGen/Generic/print-machineinstrs.ll index 75b4cd14fff..75dceb5b262 100644 --- a/llvm/test/CodeGen/Generic/print-machineinstrs.ll +++ b/llvm/test/CodeGen/Generic/print-machineinstrs.ll @@ -1,6 +1,6 @@ -; RUN: llc < %s -O3 -debug-pass=Structure -print-machineinstrs=branch-folder -o /dev/null |& FileCheck %s -; RUN: llc < %s -O3 -debug-pass=Structure -print-machineinstrs -o /dev/null |& FileCheck %s -; RUN: llc < %s -O3 -debug-pass=Structure -print-machineinstrs= -o /dev/null |& FileCheck %s +; RUN: llc < %s -O3 -debug-pass=Structure -print-machineinstrs=branch-folder -o /dev/null 2>&1 | FileCheck %s +; RUN: llc < %s -O3 -debug-pass=Structure -print-machineinstrs -o /dev/null 2>&1 | FileCheck %s +; RUN: llc < %s -O3 -debug-pass=Structure -print-machineinstrs= -o /dev/null 2>&1 | FileCheck %s define i64 @foo(i64 %a, i64 %b) nounwind { ; CHECK: -branch-folder -print-machineinstrs |

