Convert the uses of '|&' to use '2>&1 |' instead, which works on old
authorChandler Carruth <chandlerc@gmail.com>
Mon, 2 Jul 2012 18:37:59 +0000 (18:37 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 2 Jul 2012 18:37:59 +0000 (18:37 +0000)
commit5da53436d526162bf696ba40df3841a6b5992fbd
tree061f2e5a2277613b41b14a278e718134527edf99
parent9b887d11b5061226d9b19462f13f8e1de54cb4f4
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
215 files changed:
llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll
llvm/test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll
llvm/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll
llvm/test/Analysis/BasicAA/2007-08-01-NoAliasAndCalls.ll
llvm/test/Analysis/BasicAA/2007-08-01-NoAliasAndGEP.ll
llvm/test/Analysis/BasicAA/2008-11-23-NoaliasRet.ll
llvm/test/Analysis/BasicAA/2009-10-13-GEP-BaseNoAlias.ll
llvm/test/Analysis/BasicAA/2010-09-15-GEP-SignedArithmetic.ll
llvm/test/Analysis/BasicAA/args-rets-allocas-loads.ll
llvm/test/Analysis/BasicAA/constant-over-index.ll
llvm/test/Analysis/BasicAA/dag.ll
llvm/test/Analysis/BasicAA/empty.ll
llvm/test/Analysis/BasicAA/gep-alias.ll
llvm/test/Analysis/BasicAA/getmodrefinfo-cs-cs.ll
llvm/test/Analysis/BasicAA/must-and-partial.ll
llvm/test/Analysis/BasicAA/phi-aa.ll
llvm/test/Analysis/BasicAA/phi-and-select.ll
llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
llvm/test/Analysis/CallGraph/no-intrinsics.ll
llvm/test/Analysis/RegionInfo/block_sort.ll
llvm/test/Analysis/RegionInfo/cond_loop.ll
llvm/test/Analysis/RegionInfo/condition_complicated.ll
llvm/test/Analysis/RegionInfo/condition_complicated_2.ll
llvm/test/Analysis/RegionInfo/condition_forward_edge.ll
llvm/test/Analysis/RegionInfo/condition_same_exit.ll
llvm/test/Analysis/RegionInfo/condition_simple.ll
llvm/test/Analysis/RegionInfo/exit_in_condition.ll
llvm/test/Analysis/RegionInfo/infinite_loop.ll
llvm/test/Analysis/RegionInfo/infinite_loop_2.ll
llvm/test/Analysis/RegionInfo/infinite_loop_3.ll
llvm/test/Analysis/RegionInfo/infinite_loop_4.ll
llvm/test/Analysis/RegionInfo/loop_with_condition.ll
llvm/test/Analysis/RegionInfo/loops_1.ll
llvm/test/Analysis/RegionInfo/loops_2.ll
llvm/test/Analysis/RegionInfo/mix_1.ll
llvm/test/Analysis/RegionInfo/multiple_exiting_edge.ll
llvm/test/Analysis/RegionInfo/nested_loops.ll
llvm/test/Analysis/RegionInfo/next.ll
llvm/test/Analysis/RegionInfo/paper.ll
llvm/test/Analysis/RegionInfo/two_loops_same_header.ll
llvm/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect1.ll
llvm/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect2.ll
llvm/test/Analysis/ScalarEvolution/2008-11-18-LessThanOrEqual.ll
llvm/test/Analysis/ScalarEvolution/2008-11-18-Stride2.ll
llvm/test/Analysis/ScalarEvolution/2008-12-14-StrideAndSigned.ll
llvm/test/Analysis/ScalarEvolution/2008-12-15-DontUseSDiv.ll
llvm/test/Analysis/ScalarEvolution/scev-aa.ll
llvm/test/Assembler/2003-11-24-SymbolTableCrash.ll
llvm/test/Assembler/2004-03-30-UnclosedFunctionCrash.ll
llvm/test/Assembler/2004-11-28-InvalidTypeCrash.ll
llvm/test/Assembler/2007-01-02-Undefined-Arg-Type.ll
llvm/test/Assembler/2007-01-16-CrashOnBadCast.ll
llvm/test/Assembler/2007-01-16-CrashOnBadCast2.ll
llvm/test/Assembler/2008-02-18-IntPointerCrash.ll
llvm/test/Assembler/2008-09-02-FunctionNotes2.ll
llvm/test/Assembler/extractvalue-invalid-idx.ll
llvm/test/Assembler/insertvalue-invalid-idx.ll
llvm/test/Assembler/invalid_cast.ll
llvm/test/Assembler/invalid_cast2.ll
llvm/test/CodeGen/ARM/2007-03-13-InstrSched.ll
llvm/test/CodeGen/ARM/2011-12-14-machine-sink.ll
llvm/test/CodeGen/ARM/addrmode.ll
llvm/test/CodeGen/Generic/print-after.ll
llvm/test/CodeGen/Generic/print-machineinstrs.ll
llvm/test/CodeGen/PowerPC/iabs.ll
llvm/test/CodeGen/PowerPC/lsr-postinc-pos.ll
llvm/test/CodeGen/PowerPC/rlwimi3.ll
llvm/test/CodeGen/Thumb/iabs.ll
llvm/test/CodeGen/X86/2003-08-03-CallArgLiveRanges.ll
llvm/test/CodeGen/X86/2006-03-02-InstrSchedBug.ll
llvm/test/CodeGen/X86/2006-05-01-SchedCausingSpills.ll
llvm/test/CodeGen/X86/2006-05-02-InstrSched1.ll
llvm/test/CodeGen/X86/2006-05-02-InstrSched2.ll
llvm/test/CodeGen/X86/2006-05-11-InstrSched.ll
llvm/test/CodeGen/X86/2008-02-18-TailMergingBug.ll
llvm/test/CodeGen/X86/2008-10-27-CoalescerBug.ll
llvm/test/CodeGen/X86/2009-02-25-CommuteBug.ll
llvm/test/CodeGen/X86/2009-02-26-MachineLICMBug.ll
llvm/test/CodeGen/X86/2009-04-16-SpillerUnfold.ll
llvm/test/CodeGen/X86/2010-01-19-OptExtBug.ll
llvm/test/CodeGen/X86/2011-06-12-FastAllocSpill.ll
llvm/test/CodeGen/X86/2012-03-26-PostRALICMBug.ll
llvm/test/CodeGen/X86/MachineSink-PHIUse.ll
llvm/test/CodeGen/X86/convert-2-addr-3-addr-inc64.ll
llvm/test/CodeGen/X86/dagcombine-cse.ll
llvm/test/CodeGen/X86/hoist-invariant-load.ll
llvm/test/CodeGen/X86/label-redefinition.ll
llvm/test/CodeGen/X86/phi-immediate-factoring.ll
llvm/test/CodeGen/X86/pr3522.ll
llvm/test/CodeGen/X86/regpressure.ll
llvm/test/CodeGen/X86/sse_reload_fold.ll
llvm/test/CodeGen/X86/twoaddr-coalesce-2.ll
llvm/test/CodeGen/X86/twoaddr-pass-sink.ll
llvm/test/DebugInfo/printdbginfo2.ll
llvm/test/Feature/globalredefinition3.ll
llvm/test/Feature/load_module.ll
llvm/test/Linker/2003-08-24-InheritPtrSize.ll
llvm/test/Linker/link-messages.ll
llvm/test/Linker/module-flags-4-a.ll
llvm/test/Linker/module-flags-5-a.ll
llvm/test/Linker/module-flags-6-a.ll
llvm/test/Linker/redefinition.ll
llvm/test/MC/AsmParser/purgem.s
llvm/test/MC/Disassembler/ARM/invalid-BFI-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-Bcc-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-CPS2p-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-CPS3p-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-DMB-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-DSB-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-IT-CBNZ-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-IT-CC15.txt
llvm/test/MC/Disassembler/ARM/invalid-IT-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-LDC-form-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-LDM-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-LDRB_POST-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-LDRD_PRE-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-LDR_POST-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-LDR_PRE-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-LDRrs-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-MCR-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-MOVTi16-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-MOVr-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-MOVs-LSL-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-MOVs-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-MRRC2-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-MSRi-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-RFEorLDMIA-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-SBFX-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-SMLAD-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-SRS-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-STMIA_UPD-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-SXTB-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-UMAAL-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-VLD1DUPq8_UPD-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-VLD3DUPd32_UPD-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-VLDMSDB_UPD-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-VQADD-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-VST1d8Twb_register-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-VST2b32_UPD-arm.txt
llvm/test/MC/Disassembler/ARM/invalid-t2Bcc-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-t2LDRBT-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-t2LDREXD-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-t2LDRSHi12-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-t2LDRSHi8-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-t2PUSH-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-t2STRD_PRE-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-t2STREXB-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-t2STREXD-thumb.txt
llvm/test/MC/Disassembler/ARM/invalid-t2STR_POST-thumb.txt
llvm/test/MC/Disassembler/ARM/ldrd-armv4.txt
llvm/test/MC/Disassembler/ARM/unpredictable-ADC-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-ADDREXT3-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-AExtI-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-AI1cmp-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-LDR-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-LDRD-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-LSL-regform.txt
llvm/test/MC/Disassembler/ARM/unpredictable-MRRC2-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-MRS-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-MUL-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-RSC-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-SEL-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-SHADD16-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-SSAT-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-STRBrs-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-UQADD8-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictable-swp-arm.txt
llvm/test/MC/Disassembler/ARM/unpredictables-thumb.txt
llvm/test/MC/Disassembler/X86/enhanced.txt
llvm/test/MC/Disassembler/X86/invalid-VEX-vvvv.txt
llvm/test/MC/Disassembler/X86/invalid-cmp-imm.txt
llvm/test/MC/Disassembler/X86/truncated-input.txt
llvm/test/Other/invalid-commandline-option.ll
llvm/test/Other/lint.ll
llvm/test/Other/optimize-options.ll
llvm/test/Transforms/GVN/nonescaping-malloc.ll
llvm/test/Transforms/GlobalOpt/2009-03-05-dbg.ll
llvm/test/Transforms/Inline/delete-call.ll
llvm/test/Transforms/LICM/hoist-invariant-load.ll
llvm/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll
llvm/test/Transforms/MergeFunc/phi-speculation1.ll
llvm/test/Transforms/MergeFunc/phi-speculation2.ll
llvm/test/Transforms/MergeFunc/vector.ll
llvm/test/Transforms/TailCallElim/ackermann.ll
llvm/test/Transforms/TailCallElim/dup_tail.ll
llvm/test/Transforms/TailDup/2008-06-11-AvoidDupLoopHeader.ll
llvm/test/Verifier/2002-04-13-RetTypes.ll
llvm/test/Verifier/2002-11-05-GetelementptrPointers.ll
llvm/test/Verifier/2006-07-11-StoreStruct.ll
llvm/test/Verifier/2006-12-12-IntrinsicDefine.ll
llvm/test/Verifier/2008-03-01-AllocaSized.ll
llvm/test/Verifier/2008-08-22-MemCpyAlignment.ll
llvm/test/Verifier/2008-11-15-RetVoid.ll
llvm/test/Verifier/AmbiguousPhi.ll
llvm/test/Verifier/PhiGrouping.ll
llvm/test/Verifier/SelfReferential.ll
llvm/test/Verifier/aliasing-chain.ll
llvm/test/Verifier/cttz-undef-arg.ll
llvm/test/Verifier/dominates.ll
llvm/test/Verifier/fpmath.ll
llvm/test/Verifier/invoke.ll
llvm/test/Verifier/range-1.ll
llvm/test/YAMLParser/spec-05-02-utf8.data
llvm/test/YAMLParser/spec-05-10.data
llvm/test/YAMLParser/spec-05-12.data
llvm/test/YAMLParser/spec-05-15.data
llvm/test/YAMLParser/spec-07-03.data
llvm/test/YAMLParser/spec-07-05.data
llvm/test/YAMLParser/spec-08-04.data
llvm/test/YAMLParser/spec-08-06.data
llvm/test/YAMLParser/spec-09-02.data
llvm/test/YAMLParser/spec-09-14.data
llvm/test/YAMLParser/spec-09-21.data
llvm/test/YAMLParser/spec-10-08.data