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)
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

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

index 4b787bf9d0c9813c75dbe71b6fe8a0a5ee33fbe7..768411e9d35f872411faf60d6eb91128a83551ea 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase consists of alias relations which should be completely
 ; resolvable by basicaa.
 
-; RUN: opt < %s -basicaa -aa-eval -print-may-aliases -disable-output |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-may-aliases -disable-output 2>&1 | FileCheck %s
 
 %T = type { i32, [10 x i8] }
 
index 68039fbc0a7d6d145a54dfe887f60a458c209ba8..b7bbf7732f95c416d3f0d0649c9e3e41136e6f35 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase consists of alias relations which should be completely
 ; resolvable by basicaa, but require analysis of getelementptr constant exprs.
 
-; RUN: opt < %s -basicaa -aa-eval -print-may-aliases -disable-output |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-may-aliases -disable-output 2>&1 | FileCheck %s
 
 %T = type { i32, [10 x i8] }
 
index c98241e846927b35730e473d4deba496deff7be6..06a804c392f87f7fe9359501340ae95caa2c5cd1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -disable-output |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -disable-output 2>&1 | FileCheck %s
 ; TEST that A[1][0] may alias A[0][i].
 target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128"
 
index b46ee1925ef7dda4c6f6a9eaf446f094bb0d7a3a..2a6f5b9955d7aba88b4207188bcbf59248741fe1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
 
 ; CHECK: Function: foo
 ; CHECK:   MayAlias: i32* %x, i32* %y
index 93b277edf6711fc90a2a7eac01681df42236218a..4be793ec416afabcbff03261409dfdf9bbc9274b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
 
 ; CHECK: Function: foo
 ; CHECK:   MayAlias: i32* %Ipointer, i32* %Jpointer
index e8cf380d6f5f3f3d36029124729cc3d0c4fc0a76..3db9a3fbcdc95d3419e2b17ad73d6cb99fe20525 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -disable-output |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -disable-output 2>&1 | FileCheck %s
 
 declare noalias i32* @_Znwj(i32 %x) nounwind
 
index a9750d25c6e6e06fb30b9835d6232ea763a604ae..c546d68f425badabec5e014b20989c707093c86f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
 ; If GEP base doesn't alias Z, then GEP doesn't alias Z.
 ; rdar://7282591
 
index e647231de19417e47e3c102c472d118c42129788..66569808fb66019dc1e695bd86c32d1cbb251b9b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
 ; PR7959
 
 target datalayout = "e-p:32:32:32"
index c7b43ec68474adee42b25bdb0fef80d33f2aa542..066f46b16c01bff84425c8a577d59041069759a3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -basicaa -aa-eval -print-all-alias-modref-info -disable-output < %s |& FileCheck  %s
+; RUN: opt -basicaa -aa-eval -print-all-alias-modref-info -disable-output < %s 2>&1 | FileCheck  %s
 
 declare void @callee(double* %callee_arg)
 declare void @nocap_callee(double* nocapture %nocap_callee_arg)
index 48ef2595f2c3b5a6fc91ca458713128a39060ef1..232533cc73e11ec74f6f2bd5e3e9c4dbab7e9ffe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info 2>&1 | FileCheck %s
 ; PR4267
 
 ; CHECK: MayAlias: double* %p.0.i.0, double* %p3
index 501f4c399b19443b86e23a577368bbefad058a91..1d2f6f1a76dd07e634f47edb62c93f7362d635e8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info 2>&1 | FileCheck %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 
index 25927ebbe19e9ece50b864b9c27b679340308e4d..dfc79f9c0420901a5f6e5fc0cde92232e5b9ced1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 
index 4bb28326612c8a6ebb270609eabdcf647d64a23d..9c2c7eeec38d56102517927f47753cfea94ea351 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -gvn -instcombine -S |& FileCheck %s
+; RUN: opt < %s -basicaa -gvn -instcombine -S 2>&1 | FileCheck %s
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 
index ebd349a6aa4fd9f62da67b36db813a4dfb828311..f0f1a631d08da11dfbe4b85e4672c7ac5b107248 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
 
 
 ; CHECK: Just Ref: call void @ro() <-> call void @f0()
index 93b6184f4f4a812ade17325f51def9ff127ace32..58139ff30eca73246ce56b3ba22344f15089ddeb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info 2>&1 | FileCheck %s
 
 ; When merging MustAlias and PartialAlias, merge to PartialAlias
 ; instead of MayAlias.
index a1b8d2ce53354d3d34c7e24e5feded9d9a46f1da..6aa26c185e0f6f919990ad17c70f902445bb66e0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
 ; rdar://7282591
 
 @X = common global i32 0
index f752ab3c3ecae6f5974c66dcbb144529f32e53d6..b8fee00ed0d0426fc2f9e35c1c08774f29b46a5e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& FileCheck %s
+; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
 
 ; BasicAA should detect NoAliases in PHIs and Selects.
 
index 55d0be6f26fd1fe5e08640d8b6fcf280729e7f95..595cc427c452afe681d2f96521ec4171996a7f00 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -print-callgraph -disable-output |& FileCheck %s
+; RUN: opt < %s -print-callgraph -disable-output 2>&1 | FileCheck %s
 
 ; CHECK: Call graph node <<null function>>
 ; CHECK:  CS<{{.*}}> calls function 'callee'
index 632cd0c790a71c131782cf3ddc444c9ddfb5770d..ac95188899c9ddef9291e0a37bf0b396377bf1c5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -print-callgraph -disable-output |& FileCheck %s
+; RUN: opt < %s -print-callgraph -disable-output 2>&1 | FileCheck %s
 
 @a = global void ()* @f                ; <void ()**> [#uses=0]
 
index 272a5593deeff533e755af8a1db1b90a01bd96aa..450dce58e30f9f63e20cfe87b64f09fc066414bf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -print-callgraph -disable-output |& FileCheck %s
+; RUN: opt < %s -print-callgraph -disable-output 2>&1 | FileCheck %s
 
 ; Check that intrinsics aren't added to the call graph
 
index faec45a911f528487d9938954fa839b02a901b20..ac77ab36e6f5ead6513da648aa72c39da1dcf0bd 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats -analyze < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats -analyze < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @BZ2_blockSort() nounwind {
 start:
index 2ce57c3c5f37c94144062075fb6244480829b155..1145ffdba0395e9dbfdddd9478d0503e83f0b375 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @normal_condition() nounwind {
 5:
index 7ca5c7c7b53706beff91c94f15c537198d4ebda7..6b398800db9c5ceb4d010745ed66312daf9a7eec 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define internal fastcc zeroext i8 @handle_compress() nounwind {
 end165:
index 5fa940a61ef64bfe8fb58cc43526128342913791..f551108d6083abcc2806acc14cd19d723d111bc7 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define internal fastcc void @compress() nounwind {
 end33:
index 098c9b6b4613105f82d489cc05f97dd3bc77fca7..5e4d9d2f8b23cfb411579b5b18292520675dea12 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @normal_condition() nounwind {
 0:
index 1b88596c0f8c497398088ed61b97b1d0440c5c8b..e48413a4c2dd46369c6abc160f5a8510f35dc3cd 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @normal_condition() nounwind {
 0:
index 19b154b6476b8dbc015b8861edc5453b44360955..00d9ed24e17ded9b3d607f3de9aee334dbb8bb49 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @normal_condition() nounwind {
 0:
index 3b152d2f565dbf5983e5b40868de992f361cb01c..b84abecc1649887a9585408a03bb48bc43485f2f 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define internal fastcc zeroext i8 @handle_compress() nounwind {
 entry:
index 59cead492619e74145c75cb907b4a9572d86b38e..8e588286a58a78cbf3e339d7dad45b4e040714a0 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: opt -regions -analyze < %s 
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
 
 define void @normal_condition() nounwind {
 0:
index 80c69b7ab2e223df9ff8ef20dd50531666518a48..a8227e340c5e80a288a4c6a2e76572a7902fb586 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s 
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @normal_condition() nounwind {
 0:
index 74ceafb84955ed6cc5d0b7de431534463f8f66e2..b09c9c1e5919a8ceb49d9f36604404d2d7af2a83 100644 (file)
@@ -1,8 +1,8 @@
 ; RUN: opt -regions -analyze < %s 
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
 
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @normal_condition() nounwind {
 0:
index fd56af1d3b8c27b0eb704a16331b376a8d14f2cb..681c305ce97188675f3d6a429f09784125b2139e 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s 
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @normal_condition() nounwind {
 0:
index d1d68982eec667c1cfc63ddec3aa1d0db23222a7..08d2ba8e35a9a635543990ed660e4356cdee7f02 100644 (file)
@@ -1,8 +1,8 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
 
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @normal_condition() nounwind {
 0:
index d4bf3cc50118273be92b3c303f6a7efec2d0bff6..6449949df843d030b91687de5433bdcf776de4fa 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define internal fastcc zeroext i8 @loops_1() nounwind {
 entry:
index 07aa7c31101055a6d90271edd45ac4705ef415b5..dc4a1adffbacb7c93157fb00a4f20d8335f474f7 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @meread_() nounwind {
 entry:
index 829c157c2c68d271648c126eaca24b4fede0d298..1474e033e574b8a13e6b9fb13d17e78c8ceaf081 100644 (file)
@@ -1,8 +1,8 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
 
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @a_linear_impl_fig_1() nounwind {
 0:
index 7bc0e4607d6826c6b5f4da1834a3665d155360e8..8de6472299428303ffa33486bf7c2e96cd79f5e0 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @normal_condition_0() nounwind {
 bb38:                                             ; preds = %bb34, %bb34, %bb37
index 9d8c4558f0493f94724cd74181fe345e0198a8ed..a3707a19872fff641471f45b04ba0714022c6a9b 100644 (file)
@@ -1,8 +1,8 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
 
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define internal fastcc zeroext i8 @handle_compress() nounwind {
 entry:
index 377a84d389c1ecfcd62915cbcb6d31f2656eadc2..890b4f23001e321abae746e5171f93d72d690c40 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @MAIN__() nounwind {
 entry:
index 00b544bc69196d36bc5d0635421a996e833f827a..96c87e0559b4f27d9d88ad3fb63b7eb614510359 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define void @a_linear_impl_fig_1() nounwind {
 0:
index a97182b81a24879a18c95f3595e55ba69089d59e..e75661e8905b85e0949d3458741939a15c3a820a 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: opt -regions -analyze < %s | FileCheck %s
-; RUN: opt -regions -stats < %s |& FileCheck -check-prefix=STAT %s
-; RUN: opt -regions -print-region-style=bb  -analyze < %s |& FileCheck -check-prefix=BBIT %s
-; RUN: opt -regions -print-region-style=rn  -analyze < %s |& FileCheck -check-prefix=RNIT %s
+; RUN: opt -regions -stats < %s 2>&1 | FileCheck -check-prefix=STAT %s
+; RUN: opt -regions -print-region-style=bb  -analyze < %s 2>&1 | FileCheck -check-prefix=BBIT %s
+; RUN: opt -regions -print-region-style=rn  -analyze < %s 2>&1 | FileCheck -check-prefix=RNIT %s
 
 define internal fastcc zeroext i8 @handle_compress() nounwind {
 entry:
index 9db9b71c7c794d4a66d45610adc982e4f9f6fced..5cf17a2101405eeec7c50bbaac6772fe91bc2230 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -analyze -scalar-evolution |& not grep smax
+; RUN: opt < %s -analyze -scalar-evolution 2>&1 | not grep smax
 ; PR2261
 
 @lut = common global [256 x i8] zeroinitializer, align 32              ; <[256 x i8]*> [#uses=1]
index 18476655525f1e7ac369d7ffadcdf52ed6e77eeb..195dfaaaee95ab5d311b81d2a544755b0c998e28 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -analyze -scalar-evolution |& not grep smax
+; RUN: opt < %s -analyze -scalar-evolution 2>&1 | not grep smax
 ; PR2070
 
 define i32 @a(i32 %x) nounwind  {
index 251f8830cee0dab3cf722c2f556de5cc0043c5eb..c25e4a3b2b23ece8a627c585d39e0c33c4d49751 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -analyze -scalar-evolution |& \
+; RUN: opt < %s -analyze -scalar-evolution 2>&1 | \
 ; RUN: grep "Loop %bb: backedge-taken count is (7 + (-1 \* %argc))"
 
 define i32 @main(i32 %argc, i8** %argv) nounwind {
index fa9f21af3713e4563231a5fc0fe4829064ee230b..db157ee56357769a817a7a14e1725aec4428fceb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -analyze -scalar-evolution |& grep {/u 3}
+; RUN: opt < %s -analyze -scalar-evolution 2>&1 | grep {/u 3}
 ; XFAIL: *
 
 ; This is a tricky testcase for unsigned wrap detection which ScalarEvolution
index 8152e988ffc6134648be221171db026785c15189..de72c4c5ed9265a4811638b32dfdd074eff4a179 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -analyze -scalar-evolution |& \
+; RUN: opt < %s -analyze -scalar-evolution 2>&1 | \
 ; RUN: grep {(((-1 \\* %i0) + (100005 smax %i0)) /u 5)}
 ; XFAIL: *
 
index 3eaa49212e714cedadd8319bf23fa978543b94a2..36a37759fd5b7a33d6a4ed6a46665509bd86ee82 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -analyze -scalar-evolution |& grep {/u 5}
+; RUN: opt < %s -analyze -scalar-evolution 2>&1 | grep {/u 5}
 ; XFAIL: *
 
 define i8 @foo0(i8 %i0) nounwind {
index dd5a66ccb44c9545a9e0f7d1061f60f939e0fab6..a0abbb787b004c51770796495965bf0c84f7c7ac 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: opt < %s -scev-aa -aa-eval -print-all-alias-modref-info \
-; RUN:   |& FileCheck %s
+; RUN:   2>&1 | FileCheck %s
 
 ; At the time of this writing, -basicaa misses the example of the form
 ; A[i+(j+1)] != A[i+j], which can arise from multi-dimensional array references,
index e402d61aebfc3b30b55f03fcf06d54164cabff68..28fd30178d6aa5479d91784e6de718cab8bfed17 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s |& grep "multiple definition"
+; RUN: not llvm-as < %s 2>&1 | grep "multiple definition"
 
 define void @test() {
        %tmp.1 = add i32 0, 1
index 22fa32ea0723482f4dab041175014f78a4c52f5e..9f24f1afd55c2e5f9158bf4fa373367aeb1d3660 100644 (file)
@@ -1,3 +1,3 @@
-; RUN: not llvm-as %s |& grep "found end of file when expecting more instructions"
+; RUN: not llvm-as %s 2>&1 | grep "found end of file when expecting more instructions"
 
 define void @foo() {
index e57f7d43a159ef8a367cf9dbf7e3f2b86622ec30..4db5b7453b0f2235d73eb2d1a19db7fa5e99ad5c 100644 (file)
@@ -1,4 +1,4 @@
 ; Test for PR463.  This program is erroneous, but should not crash llvm-as.
-; RUN: not llvm-as %s -o /dev/null |& grep "use of undefined type named 'struct.none'"
+; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "use of undefined type named 'struct.none'"
 
 @.FOO  = internal global %struct.none zeroinitializer
index 9e08212e2937003ff188373e0e6f41792d8ccb9c..184e543123f46bf22566b228723426141e00888b 100644 (file)
@@ -1,5 +1,5 @@
 ; The assembler should catch an undefined argument type .
-; RUN: not llvm-as %s -o /dev/null |& grep "use of undefined type named 'typedef.bc_struct'"
+; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "use of undefined type named 'typedef.bc_struct'"
 
 ; %typedef.bc_struct = type opaque
 
index 1653d68b848602ca91d0878b07e15e37c5e7c286..aa741443d83126ceb5a0ec7d691aae7b5b492bb8 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1117
-; RUN: not llvm-as %s -o /dev/null |& grep "invalid cast opcode for cast from"
+; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "invalid cast opcode for cast from"
 
 define i8* @nada(i64 %X) {
     %result = trunc i64 %X to i8*
index 64610505adffa08d7d8dab8c12eef9bac1184bb2..479bef7d7a206e8d71f829adcb11b7dfe98f8538 100644 (file)
@@ -1,4 +1,4 @@
 ; PR1117
-; RUN: not llvm-as %s -o /dev/null |& grep "invalid cast opcode for cast from"
+; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "invalid cast opcode for cast from"
 
 @X = constant i8* trunc (i64 0 to i8*)
index a66fca70d8418712cc41792b6493a86391674fb9..4a33c36d573168257f1b845ea056d7c36f9546c7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as %s |& grep "integer constant must have integer type"
+; RUN: not llvm-as %s 2>&1 | grep "integer constant must have integer type"
 ; PR2060
 
 define i8* @foo() {
index 8a49e8990280259fcfb5c22874a2a00911a9e652..97351e2a5713eeedace4db62d8d66cd41e8ef7e2 100644 (file)
@@ -1,5 +1,5 @@
 ; Test function notes
-; RUN: not llvm-as %s -o /dev/null |& grep "Attributes noinline alwaysinline are incompatible"
+; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "Attributes noinline alwaysinline are incompatible"
 define void @fn1() alwaysinline  noinline {
   ret void
 }
index 9a215f7194181595397c01bbbb1cbaf224e1cd2e..b5a398c2ccc5bfff07e47c6ee24dcc4da653c5ef 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s |& FileCheck %s
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
 ; PR4170
 
 ; CHECK: invalid indices for extractvalue
index 355d4e8c10fdbc0b29a06aef358d270137b0cfe4..74642f4eb0ce48b0c5b5df9e2409357970f4e98a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s |& FileCheck %s
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
 
 ; CHECK: invalid indices for insertvalue
 
index f6828357243629664245568a19533e121c1b03f8..91e81c78ebf6875f1e53736f2357faed0464b424 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s |& FileCheck %s
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
 
 ; CHECK: invalid cast opcode for cast from '<4 x i64>' to '<3 x i8>'
 
index a01b935629f56d28325bf3deafc24e93135fd119..5ce9546deb50d9402cf3053a6baf38bb6e051b6c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s |& FileCheck %s
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
 
 ; CHECK: invalid cast opcode for cast from '<4 x i64>' to 'i8'
 
index 33f935e960b1afd22285a4b3fa34f53ae69e8f96..a63cdd46e2d8c9157dabcf7e9030766db8d69a49 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic \
 ; RUN:   -mattr=+v6 | grep r9
 ; RUN: llc < %s -mtriple=arm-apple-darwin -relocation-model=pic \
-; RUN:   -mattr=+v6 -arm-reserve-r9 -ifcvt-limit=0 -stats |& grep asm-printer
+; RUN:   -mattr=+v6 -arm-reserve-r9 -ifcvt-limit=0 -stats 2>&1 | grep asm-printer
 ; | grep 35
 
 define void @test(i32 %tmp56222, i32 %tmp36224, i32 %tmp46223, i32 %i.0196.0.ph, i32 %tmp8, i32* %tmp1011, i32** %tmp1, i32* %d2.1.out, i32* %d3.1.out, i32* %d0.1.out, i32* %d1.1.out) {
index 5ce600d1a939515331b2dd2b587c50354c00b8e5..b21bb006e3276ebd41c9f156ed4b3fba7bd74aaa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -o /dev/null -stats |& FileCheck %s -check-prefix=STATS
+; RUN: llc < %s -o /dev/null -stats 2>&1 | FileCheck %s -check-prefix=STATS
 ; Radar 10266272
 target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32-S32"
 target triple = "thumbv7-apple-ios4.0.0"
index 9ccff07d456bbc579878b7cad6ed69c8de3b6918..6da90897b94b19bb498d0266b72c32b9205c28d0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=arm -stats |& grep asm-printer | grep 4
+; RUN: llc < %s -march=arm -stats 2>&1 | grep asm-printer | grep 4
 
 define i32 @t1(i32 %a) {
        %b = mul i32 %a, 9
index 0c4695dce5681053edaf687c5671af4902d4dc92..7505907ef773396ae6bc7b32256445c9b0e55e7f 100644 (file)
@@ -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
index 75b4cd14fff2d5872d1b0dec88685c894e5b6987..75dceb5b26232e1582b0ba75c6f9fdc3db113400 100644 (file)
@@ -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
index 595e3556531edbe98b63d5d91920d8c1fc362b1b..7d089bbd653ce476b1053bff8ce143bf4c756256 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc32 -stats |& \
+; RUN: llc < %s -march=ppc32 -stats 2>&1 | \
 ; RUN:   grep "4 .*Number of machine instrs printed"
 
 ;; Integer absolute value, should produce something as good as:
index f441e42da2f155c5220f3559f88cca84298e2c38..42472c58fe8b4e5392a2301a08b86e403da31dc1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -print-lsr-output |& FileCheck %s
+; RUN: llc < %s -print-lsr-output 2>&1 | FileCheck %s
 
 ; The icmp is a post-inc use, and the increment is in %bb11, but the
 ; scevgep needs to be inserted in %bb so that it is dominated by %t.
index afeba49de943f1a449190bba248ea2d8df3c12f5..7efdbe9634fee051b527cea3dc33b1fbd1d543ec 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc32 -stats |& \
+; RUN: llc < %s -march=ppc32 -stats 2>&1 | \
 ; RUN:   grep "Number of machine instrs printed" | grep 12
 
 define i16 @Trans16Bit(i32 %srcA, i32 %srcB, i32 %alpha) {
index d27db0d6f252d7ac2b68eccd6fb38ef208ffd5fe..2e77660c45c1d72773c517ab6cc2421752058173 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -stats |& \
+; RUN: llc < %s -march=thumb -stats 2>&1 | \
 ; RUN:   grep "4 .*Number of machine instrs printed"
 
 ;; Integer absolute value, should produce something as good as:
index 24848602baf849e9931a51f09b748f81da87d53d..0af2445d7fbae60618941e2db388785d6af685b8 100644 (file)
@@ -3,7 +3,7 @@
 ; it makes a ton of annoying overlapping live ranges.  This code should not
 ; cause spills!
 ;
-; RUN: llc < %s -march=x86 -stats |& not grep spilled
+; RUN: llc < %s -march=x86 -stats 2>&1 | not grep spilled
 
 target datalayout = "e-p:32:32"
 
index 0421896922b9e523d316b215495373dacef38de9..1a3d74918d1a6d3e31386d27b3bb8c63975f89ae 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86  -stats |& \
+; RUN: llc < %s -march=x86  -stats 2>&1 | \
 ; RUN:   grep asm-printer | grep 7
 
 define i32 @g(i32 %a, i32 %b) nounwind {
index b0453299669e2680f90528dfe151789109bfa472..bbc39eeb8be63974d4bb2b91ad0bef4cfb0dd6db 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah -stats |& \
+; RUN: llc < %s -march=x86 -mcpu=yonah -stats 2>&1 | \
 ; RUN:   not grep {Number of register spills}
 ; END.
 
index 7d0a6ab0a04c2ee47df091667eb7917bc9f3af03..1c75f93915a7dfdb3e0de56e66026e88bf7d35ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -relocation-model=static -stats |& \
+; RUN: llc < %s -march=x86 -relocation-model=static -stats 2>&1 | \
 ; RUN:   grep asm-printer | grep 14
 ;
 @size20 = external global i32          ; <i32*> [#uses=1]
index 23954d76a5d6af01e88118376c66b8fdd4bb4e17..95eefa1e7196f0db0ac2b2e9b180f256cd777115 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -stats  |& \
+; RUN: llc < %s -march=x86 -stats  2>&1 | \
 ; RUN:   grep asm-printer | grep 13
 
 define void @_ZN9__gnu_cxx9hashtableISt4pairIKPKciES3_NS_4hashIS3_EESt10_Select1stIS5_E5eqstrSaIiEE14find_or_insertERKS5__cond_true456.i(i8* %tmp435.i, i32* %tmp449.i.out) nounwind {
index 77228c5d1519b1e4d75f9f66f5d163e3e48cc46e..37c510786a5e134f86f22e75adeb114baeaa7fbe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mcpu=penryn -mattr=+sse2 -stats -realign-stack=0 |&\
+; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mcpu=penryn -mattr=+sse2 -stats -realign-stack=0 2>&1 | \
 ; RUN:     grep "asm-printer" | grep 35
 
 target datalayout = "e-p:32:32"
index 9ff815a80c5be3c7362aff414ed15e095cb6ac24..a1b973d7ccfa685fa7ae2bcad4932a3fed18efa7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah -stats |& grep "Number of block tails merged" | grep 16
+; RUN: llc < %s -march=x86 -mcpu=yonah -stats 2>&1 | grep "Number of block tails merged" | grep 16
 ; PR1909
 
 @.str = internal constant [48 x i8] c"transformed bounds: (%.2f, %.2f), (%.2f, %.2f)\0A\00"            ; <[48 x i8]*> [#uses=1]
index 9d144a4be0e908f7300a386673ccfde3fb07d6a7..66f06778bdeca68be261e9477b48b926ddf4f879 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=i386-apple-darwin -mattr=+sse2 -stats |& FileCheck %s
+; RUN: llc < %s -mtriple=i386-apple-darwin -mattr=+sse2 -stats 2>&1 | FileCheck %s
 ; Now this test spills one register. But a reload in the loop is cheaper than
 ; the divsd so it's a win.
 
index 7ea699833ba8638a5f940679b8654cfe0cb992c3..9cbf35094061380b419ce48fadacf7741976d223 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 -stats |& not grep commuted
+; RUN: llc < %s -march=x86 -mattr=+sse2 -stats 2>&1 | not grep commuted
 ; rdar://6608609
 
 define <2 x double> @t(<2 x double> %A, <2 x double> %B, <2 x double> %C) nounwind readnone {
index a6e9b8f11f79c46b412a032544483c0c979886c0..1b2f20303ba9e69329b19995056c279a2a614fb9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse41 -mcpu=penryn -stats |& grep "8 machine-licm"
+; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse41 -mcpu=penryn -stats 2>&1 | grep "8 machine-licm"
 ; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse41 -mcpu=penryn | FileCheck %s
 ; rdar://6627786
 ; rdar://7792037
index f46eed4769f7e95e4d8de598cb75ffba0d4ea938..56eba9eb4689b7a2cec96beb37b8bb64ffced904 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin10.0 -relocation-model=pic -disable-fp-elim -stats |& grep {Number of modref unfolded}
+; RUN: llc < %s -mtriple=x86_64-apple-darwin10.0 -relocation-model=pic -disable-fp-elim -stats 2>&1 | grep {Number of modref unfolded}
 ; XFAIL: *
 ; 69408 removed the opportunity for this optimization to work
 
index cd8960b9ed7b4e74e1b4a42d03a13f20265ba9a8..eb4a5c04a2ae5936237d29866e80cc348888694a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin11 -relocation-model=pic -disable-fp-elim -stats |& not grep ext-opt
+; RUN: llc < %s -mtriple=x86_64-apple-darwin11 -relocation-model=pic -disable-fp-elim -stats 2>&1 | not grep ext-opt
 
 define fastcc i8* @S_scan_str(i8* %start, i32 %keep_quoted, i32 %keep_delims) nounwind ssp {
 entry:
index a51dad03039e8a31d41bf1d624551b91fa101d09..47ef693cc25e62069ac4a6329561e4b4a8f88070 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O0 -disable-fp-elim -relocation-model=pic -stats |& FileCheck %s
+; RUN: llc < %s -O0 -disable-fp-elim -relocation-model=pic -stats 2>&1 | FileCheck %s
 ;
 ; This test should not cause any spilling with RAFast.
 ;
index 101eccabbd49e6ec150da281af1f5ad8438cedd5..d580b4f36db267359c33bcd1837608ec82c32cb2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -stats |& \
+; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -stats 2>&1 | \
 ; RUN:   not grep {Number of machine instructions hoisted out of loops post regalloc}
 
 ; rdar://11095580
index 6193865ce18e6ce010df887b23c9fd7cd762d06f..33141680aa92eba2004a639f6da1d8631b294c76 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-appel-darwin -disable-cgp-branch-opts -stats |& grep "machine-sink"
+; RUN: llc < %s -mtriple=x86_64-appel-darwin -disable-cgp-branch-opts -stats 2>&1 | grep "machine-sink"
 
 define fastcc void @t() nounwind ssp {
 entry:
index b82348b32e43c28a5847faee6cdae6678f6684f4..064ee364d14e1cb7a8e76b2f5d9896916c3f1a83 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -mtriple=x86_64-linux -o /dev/null -stats |& FileCheck %s -check-prefix=STATS
-; RUN: llc < %s -mtriple=x86_64-win32 -o /dev/null -stats |& FileCheck %s -check-prefix=STATS
+; RUN: llc < %s -mtriple=x86_64-linux -o /dev/null -stats 2>&1 | FileCheck %s -check-prefix=STATS
+; RUN: llc < %s -mtriple=x86_64-win32 -o /dev/null -stats 2>&1 | FileCheck %s -check-prefix=STATS
 ; STATS: 9 asm-printer
 
 ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
index c3c7990d19ebb43c04d55f162ecd53491ea028fc..af69531246cf2c752e3624293292d581db437007 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 -mtriple=i386-apple-darwin -stats |& grep asm-printer | grep 14
+; RUN: llc < %s -march=x86 -mattr=+sse2 -mtriple=i386-apple-darwin -stats 2>&1 | grep asm-printer | grep 14
 
 define i32 @t(i8* %ref_frame_ptr, i32 %ref_frame_stride, i32 %idxX, i32 %idxY) nounwind  {
 entry:
index 4289fa7cc254d5e9716af054507d98537a7d5330..74ecd045b3d53037cf7298a597b1efb93c736087 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -stats -O2 |& grep "1 machine-licm"
+; RUN: llc < %s -stats -O2 2>&1 | grep "1 machine-licm"
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.7.2"
index dece27b843006837e5266f4bcba29cc3fa8150ce..9e88a18e8732471ccb9f72d9d421b8ac6293ef59 100644 (file)
@@ -1,5 +1,5 @@
 ; PR7054
-; RUN: not llc %s -o - |& grep "'_foo' label emitted multiple times to assembly"
+; RUN: not llc %s -o - 2>&1 | grep "'_foo' label emitted multiple times to assembly"
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32"
 target triple = "i386-apple-darwin10.0.0"
 
index d53108485d55a72302482cd98b1cd7986897395a..476bb109983149b68250e88ff9ed0bc75b501f55 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -stats |& grep "Number of blocks eliminated" | grep 6
+; RUN: llc < %s -march=x86 -stats 2>&1 | grep "Number of blocks eliminated" | grep 6
 ; PR1296
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
index 112253038b7970ec59988b4a1005faaa20369036..42db26455a931f7cdf93db79e38f12bc2b6ebd40 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -stats |& not grep {instructions sunk}
+; RUN: llc < %s -march=x86 -stats 2>&1 | not grep {instructions sunk}
 ; PR3522
 
 target triple = "i386-pc-linux-gnu"
index e0b5f7a870bb2bacf63658ad83b442befe6a315d..4eaf00421ad12f354dec646510e6540cf8feebdc 100644 (file)
@@ -1,7 +1,7 @@
 ;; Both functions in this testcase should codegen to the same function, and
 ;; neither of them should require spilling anything to the stack.
 
-; RUN: llc < %s -march=x86 -stats |& \
+; RUN: llc < %s -march=x86 -stats 2>&1 | \
 ; RUN:   not grep {Number of register spills}
 
 ;; This can be compiled to use three registers if the loads are not
index a57fa588f054a762631459dfaf17bf7560dd6b36..fd8db3be106392c849c0198daec437fc8ee21b6e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-linux -mattr=+64bit,+sse3 -print-failed-fuse-candidates -regalloc=basic |& FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux -mattr=+64bit,+sse3 -print-failed-fuse-candidates -regalloc=basic 2>&1 | FileCheck %s
 ; CHECK: fail
 ; CHECK-NOT: fail
 
index e50e7c52d18eacbf7eb8be942a89d0415b65af26..af6d47af7a0fba84dd6c5672c33eda5acf4fd1bc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=penryn -stats |& \
+; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=penryn -stats 2>&1 | \
 ; RUN:   grep "twoaddrinstr" | grep "Number of instructions aggressively commuted"
 ; rdar://6480363
 
index f4ac09ab1d737dd9e0eebb91bc230c60783e6dc6..513c304e3bf8419aeaa1beeb6089e0544cc5ece7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 -stats |& grep "Number of 3-address instructions sunk"
+; RUN: llc < %s -march=x86 -mattr=+sse2 -stats 2>&1 | grep "Number of 3-address instructions sunk"
 
 define void @t2(<2 x i64>* %vDct, <2 x i64>* %vYp, i8* %skiplist, <2 x i64> %a1) nounwind  {
 entry:
index 3193791974775f4d828370dbee7f8e0e7ea04e07..396ae852266a00a1be1db0267fa5017b7f67b7e7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -print-dbginfo -disable-output |& FileCheck %s
+; RUN: opt < %s -print-dbginfo -disable-output 2>&1 | FileCheck %s
 ;  grep {%b is variable b of type x declared at x.c:7} %t1
 ;  grep {%2 is variable b of type x declared at x.c:7} %t1
 ;  grep {@c.1442 is variable c of type int declared at x.c:4} %t1
index 3a159725a06e74bc76c114d54293194e5a7cb860..2551d932d8a690bfdd7a152d146c1cc45e35c471 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as %s -o /dev/null |& grep "redefinition of global '@B'"
+; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "redefinition of global '@B'"
 
 @B = global i32 7
 @B = global i32 7
index 05f6c238134f4b9daeda4f4f8ad95a385f1099dc..14c1153fa5698ae0519be69bf666609a602f6f1e 100644 (file)
@@ -1,6 +1,6 @@
 ; PR1318
 ; RUN: opt < %s -load=%llvmshlibdir/LLVMHello%shlibext -hello \
-; RUN:   -disable-output |& grep Hello
+; RUN:   -disable-output 2>&1 | grep Hello
 ; REQUIRES: loadable_module
 ; FIXME: On Cygming, it might fail without building LLVMHello manually.
 
index 487172f88f03b88a38ceaffa25b63aded8968b51..51d544b83f9061511615d1686b1751296c294140 100644 (file)
@@ -3,7 +3,7 @@
 
 ; RUN: llvm-as < %s > %t.out1.bc
 ; RUN: echo "" | llvm-as > %t.out2.bc
-; RUN: llvm-link %t.out1.bc %t.out2.bc |& not grep warning
+; RUN: llvm-link %t.out1.bc %t.out2.bc 2>&1 | not grep warning
 
 target datalayout = "e-p:64:64"
 
index 1faae186ddd59c94dc645006f21e2f81850e46b2..4e7ffbc97d64c2fb8e84bed71002bf4467420820 100644 (file)
@@ -2,7 +2,7 @@
 ; that error is printed out.
 ; RUN: llvm-as %s -o %t.one.bc
 ; RUN: llvm-as %s -o %t.two.bc
-; RUN: not llvm-link %t.one.bc %t.two.bc -o %t.bc |& FileCheck %s
+; RUN: not llvm-link %t.one.bc %t.two.bc -o %t.bc 2>&1 | FileCheck %s
 
 ; CHECK: symbol multiply defined
 define i32 @bar() {
index f411a569d830dc76f2670cd1a9153e35ab3bffdb..a656c8b84b9f933dce04f653914f18ed9181de50 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-link %s %p/module-flags-4-b.ll -S -o - |& FileCheck %s
+; RUN: not llvm-link %s %p/module-flags-4-b.ll -S -o - 2>&1 | FileCheck %s
 
 ; Test 'require' error.
 
index 2e59ecca702c7dd414fe0c5cbea6d087de59f5e5..8d625cd8c9de8af36116ebf4e0019a6f04385521 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-link %s %p/module-flags-5-b.ll -S -o - |& FileCheck %s
+; RUN: not llvm-link %s %p/module-flags-5-b.ll -S -o - 2>&1 | FileCheck %s
 
 ; Test the 'override' error.
 
index c3e0225814f51a1b9966fa31f772994c45afc3b7..5329c436a473a46876f461a672cc8474a989ad4f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-link %s %p/module-flags-6-b.ll -S -o - |& FileCheck %s
+; RUN: not llvm-link %s %p/module-flags-6-b.ll -S -o - 2>&1 | FileCheck %s
 
 ; Test module flags error messages.
 
index ec7e0a3002c3ec9cb52766b683cd25c59bad5a74..23ba6a100f06a98ea268d3c3d29b253c543827f6 100644 (file)
@@ -3,8 +3,8 @@
 ; RUN: llvm-as %s -o %t.foo1.bc
 ; RUN: llvm-as %s -o %t.foo2.bc
 ; RUN: echo "define void @foo(i32 %x) { ret void }" | llvm-as -o %t.foo3.bc
-; RUN: not llvm-link %t.foo1.bc %t.foo2.bc -o %t.bc |& \
+; RUN: not llvm-link %t.foo1.bc %t.foo2.bc -o %t.bc 2>&1 | \
 ; RUN:   grep "symbol multiply defined"
-; RUN: not llvm-link %t.foo1.bc %t.foo3.bc -o %t.bc |& \
+; RUN: not llvm-link %t.foo1.bc %t.foo3.bc -o %t.bc 2>&1 | \
 ; RUN:   grep "symbol multiply defined"
 define void @foo() { ret void }
index 46004eeda3816d74cafa158c520920374bbbd6fc..c76c1c6d27db83e334cb2efa1e5b87ddfb9f05f4 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: not llvm-mc -triple i386-unknown-unknown %s |& FileCheck %s
+# RUN: not llvm-mc -triple i386-unknown-unknown %s 2>&1 | FileCheck %s
 
 .macro foo
 .err
index 3743ac8208e7bc7fde41df2ee5c8bcb91687b7a3..f7acce9fc0155f97261d861552acb9e85cec9d77 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=60 Name=BFI Format=ARM_FORMAT_DPFRM(4)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 902554241306b5ca8c9e76b776c0ac81f5d32ddc..356c376fedeae9f25dde43e4b1e671296744a575 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=2249 Name=tBcc Format=ARM_FORMAT_THUMBFRM(25)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index c6265f84b733f4b8f2ecc1bd734a03e674e4a538..bc8b7e10b91d830dbcfd1f2dbee9c30dd01d3d29 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # invalid imod value (0b01)
 0xc0 0x67 0x4 0xf1
index b23653e0495be93da2f480ef2240ac9087126aee..842a52b72928fddf62ace98e03d470c10c2ee20d 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "potentially undefined instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "potentially undefined instruction encoding"
 
 # invalid (imod, M, iflags) combination
 0x93 0x00 0x02 0xf1
index c78e7c9562c902ece2938a5499c1130b345dee98..83961569bd1a2d2f7c524cf0a6b9cb8aebd4ee4c 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=1908 Name=t2DMB Format=ARM_FORMAT_THUMBFRM(25)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index afe467f515e6dd8d9f185f1296b23adeee276ed3..2c6e6a7fa265fd664d9327cee4b86ae71c64ac44 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=102 Name=DSB Format=ARM_FORMAT_MISCFRM(26)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 3d70c9404da4e849304f3f1401e1ba2c4609299b..4297c016e86bdc5735611ac3bbeff49c2a6be568 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 |& grep "potentially undefined instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 2>&1 | grep "potentially undefined instruction encoding"
 
 # CBZ / CBNZ not allowed in IT block.
 
index 17e25ead42f12811cde91e6e32739d2e0bf7f9cd..733895d6af6bd703f996005a6e0ff52934c1fda7 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumbv7-unknown-unknown |& grep und
+# RUN: llvm-mc --disassemble %s -triple=thumbv7-unknown-unknown 2>&1 | grep und
 # rdar://10841671
 
 0xe3 0xbf
index 6b10e6759866927b2493574590124c70824120ec..1a8ff48cd99d982e6aca228d7d43a5bf246dc804 100644 (file)
@@ -1,3 +1,3 @@
-# RUN: llvm-mc --disassemble %s -triple=thumbv7-unknown-unknown |& grep "potentially undefined instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumbv7-unknown-unknown 2>&1 | grep "potentially undefined instruction encoding"
 
 0xff 0xbf 0x6b 0x80 0x00 0x75
index 41f734daae95d327662a45bd3ab46d9f1bb77981..6cff09e719609e0504d7a8bd157e13fade1f58b0 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=0 Name=PHI Format=(42)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index d6e746cdc1973d94a1b208b853ce9c7fe8616e62..7d8c492649ac1065e7200b203bf0346df8870ce2 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 |& grep "potentially undefined instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 2>&1 | grep "potentially undefined instruction encoding"
 
 # Writeback is not allowed is Rn is in the target register list.
 
index 1dad49d7e5607ac9b828c6e09054dde9ed3fd138..68d22debb0e85598aa2635ce37fd00f520627ecc 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "potentially undefined instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "potentially undefined instruction encoding"
 
 # Opcode=140 Name=LDRB_POST Format=ARM_FORMAT_LDFRM(6)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index aa77bb221f1ca820ff6867b28167eeebb4e635a2..4df5309b1366ca035887eaa07a47ac59f80c669b 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=1930 Name=t2LDRD_PRE Format=ARM_FORMAT_THUMBFRM(25)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0 
index eef2c45db522f169ed112a3cbd657feb8ed772e6..63b5dbf0c16638b4891287b09d85b8e3318bca6c 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep {invalid instruction encoding}
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep {invalid instruction encoding}
 # XFAIL: *
 
 # LDR_PRE/POST has encoding Inst{4} = 0.
index 197e34f3aff69a27b5eb5b0fd09867371372df15..30cb727ece8ff12a014d2314736414dd316fcc02 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "potentially undefined instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "potentially undefined instruction encoding"
 
 # Opcode=165 Name=LDR_PRE Format=ARM_FORMAT_LDFRM(6)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index af16e976d138bcb1252a08e3431a8e7a94b8ff1f..7b7286af123fa444ef103a56f8b776f94424f887 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # LDR (register) has encoding Inst{4} = 0.
 0xba 0xae 0x9f 0x57
index 575d0632f46cf4281c21f1843391cd8ffefa9f84..bb4b06c90a62676e8af3401f703e20997881a8f9 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=171 Name=MCR Format=ARM_FORMAT_BRFRM(2)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index d15ee055ec66d9505e808cc46499dc11037acef8..528563acb3fc95cf1d36a3a8f16aad0433a59e11 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=185 Name=MOVTi16 Format=ARM_FORMAT_DPFRM(4)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index f8f055cb4a0c4f8a55124a113683e75a112f47c7..41ec53f3c70bafdc2e125aec71e4327ef486c55a 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=0 Name=PHI Format=(42)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 3f682d8b7846081938890295695bddc4ead21478..e5f2a5ecbc154a0549351171d73a050905adcfdf 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=196 Name=MOVs Format=ARM_FORMAT_DPSOREGFRM(5)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 78acffe06646a62cc2afe0f6e9b3a6196f1a62c6..3f4c1e5ff96bc2121ad2779c0aefee2f0c22377b 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=0 Name=PHI Format=(42)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index aaae6ce2e40a3bbb47944f2c3060335066d31465..c20ce542a6b2a224517aac79eefa90b9aa36eb50 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s
 
 # CHECK: invalid instruction encoding
 0x00 0x1a 0x50 0xfc
index b635a025f40d0b0571cb484f1854772f2d945e62..901667ab907518b7162116b1d643ed8e2830d35b 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=206 Name=MSRi Format=ARM_FORMAT_BRFRM(2)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 2b7d22c08359b680ee9ab62c5c95ebb9354f5d82..499aa868f904e032037480be3071408cf775ea69 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=134 Name=LDMIA Format=ARM_FORMAT_LDSTMULFRM(10)
 # 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 48fe0f25786250dd77fa5ecf7190f531bda7427e..7bc97d5260d43a44038ec29f47f8e1990717f8f8 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=271 Name=SBFX Format=ARM_FORMAT_DPFRM(4)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 5f39bb62345323eff3a7ff4cf663e100093693ae..fe4f43aadd7e10da3dfeddc34516d0d6b59de5ed 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=284 Name=SMLAD Format=ARM_FORMAT_MULFRM(1)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index dc6788e2578f8df357616a4b91f2f074feb4778e..eedd05cea624ca0a1db6eb4c56873b545c8e6f1c 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=0 Name=PHI Format=(42)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 9709b0649e9affbf94fbf85176d3dfaad2eb2e6c..3d5235de55d7790b72ca627fb55cdb41210afc15 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=2313 Name=tSTMIA_UPD Format=ARM_FORMAT_THUMBFRM(25)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 4b70bdd80de3922f13a7f39dcc2e8e9c30f20aff..f67f38e28e02034aa020be53d1b36855eeb160cc 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=390 Name=SXTBr_rot Format=ARM_FORMAT_EXTFRM(14)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 57264017c951491d91e52b9594c80528c3452cae..f57c48f0e22b5c3db5a413e958a1bc4524d560ab 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=419 Name=UMAAL Format=ARM_FORMAT_MULFRM(1)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index ccf6d9f323f78f64a14919d7dd2ed47b0ba6393b..bce6b3bb6e6a77ef876b8cfa729cbd0905ff7d3b 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-unknown-unknwon -mcpu=cortex-a8 |& grep {invalid instruction encoding}
+# RUN: llvm-mc --disassemble %s -triple=armv7-unknown-unknwon -mcpu=cortex-a8 2>&1 | grep {invalid instruction encoding}
 # XFAIL: *
 
 # Opcode=737 Name=VLD1DUPq8_UPD Format=ARM_FORMAT_NLdSt(30)
index d7d70f70f9168337404e490095473cfa33124e35..58def05f2783460382c6cc03e3c3aca4992a2152 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=871 Name=VLD3DUPd32_UPD Format=ARM_FORMAT_NLdSt(30)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 9c0d93e5f37afda2f5aa3bb48c7af14f8bc286d8..54fcadb2a4f7cfbff858e928699ab96fc11c16f1 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # core registers out of range
 0xa5 0xba 0x72 0xed
index 7897142cae0ce03a12962452bb145585b983622d..7f8541e4941aa3e5d5249aa53aa84770a13f16f6 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-unknown-unknwon -mcpu=cortex-a8 |& grep {invalid instruction encoding}
+# RUN: llvm-mc --disassemble %s -triple=armv7-unknown-unknwon -mcpu=cortex-a8 2>&1 | grep {invalid instruction encoding}
 # XFAIL: *
 
 # Opcode=1225 Name=VQADDsv16i8 Format=ARM_FORMAT_N3Reg(37)
index 397584e4f749e466ae6bad857713530b9f0ec142..2d2a62811ae9c32054c53e0943333eb27d6d6f47 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=1839 Name=VST1d8Twb_register Format=ARM_FORMAT_NLdSt(30)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index b9d5d33f2c0d6843dadac15859ee5caa372de324..911d7b325ff39c4ca852cc42dd9a240c973e09c6 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-unknown-unknwon -mcpu=cortex-a8 |& grep {invalid instruction encoding}
+# RUN: llvm-mc --disassemble %s -triple=armv7-unknown-unknwon -mcpu=cortex-a8 2>&1 | grep {invalid instruction encoding}
 # XFAIL: *
 
 # Opcode=1641 Name=VST2b32_UPD Format=ARM_FORMAT_NLdSt(30)
index bbf415a5c16c84a72ee9c8b3259040879fa69f24..c9f1cf12d197d6f254a6b50d479cf7305f3ba06f 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=1894 Name=t2Bcc Format=ARM_FORMAT_THUMBFRM(25)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 0a6120286201f104e873f4d9a6af9c2de272e852..eb415f755ebf22a14917801c850a346e8ef4e5d3 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=1922 Name=t2LDRBT Format=ARM_FORMAT_THUMBFRM(25)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 7c0efab3834d45223f4301ffaa5eca873051c6d1..d16dcd71316aeba9e365d80a1b0aec885d02b3cd 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 |& grep {invalid instruction encoding}
+# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 2>&1 | grep {invalid instruction encoding}
 # XFAIL: *
 
 # Opcode=1934 Name=t2LDREXD Format=ARM_FORMAT_THUMBFRM(25)
index 047121e5c4e71a4502d964f5f42b28775ed80478..7f84e0813096b08b5da5e626d055755029b7956a 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=1953 Name=t2LDRSHi12 Format=ARM_FORMAT_THUMBFRM(25)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 57b50385efc49a34d623ef2e988f60623434a894..e44cf952cd36e1471317d430c1b26f32d5688de1 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=1954 Name=t2LDRSHi8 Format=ARM_FORMAT_THUMBFRM(25)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 3348a42a3134a607695ba0254d5bb3cb10d5735d..8c0d48bd56c0c60a8dc5816a7bd98b562302d9fe 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # SP and PC are not allowed in the register list on STM instructions in Thumb2.
 
index 2198efc2d2577004e4d9dfee855475195be56244..1877b538a17e8e2fe78cf59277374a31e4c29cd3 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 |& grep {invalid instruction encoding}
+# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 2>&1 | grep {invalid instruction encoding}
 # XFAIL: *
 
 # Opcode=2124 Name=t2STRD_PRE Format=ARM_FORMAT_THUMBFRM(25)
index 3f406d49487bd0f63cf7f1537d48c251fe9ce6d5..27b91db09fc0cd0fd2b7bc372cedc6b9f63e60af 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 |& grep {invalid instruction encoding}
+# RUN: llvm-mc --disassemble %s -triple=thumbv7-apple-darwin9 2>&1 | grep {invalid instruction encoding}
 # XFAIL: *
 
 # Opcode=2127 Name=t2STREXB Format=ARM_FORMAT_THUMBFRM(25)
index 5721fe1bbf7aab152cd2d19aab3b716f4f7961d9..7a7c4a5c54f57e79b6bd14ef70c6384fbb311263 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=2128 Name=t2STREXD Format=ARM_FORMAT_THUMBFRM(25)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index b957899f06321bb8b9fa49d4d887fb5d8e88b001..2ad3e7df9ce32f5a5ed42ac6f4ddc728abe1e766 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=thumb-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # Opcode=2137 Name=t2STR_POST Format=ARM_FORMAT_THUMBFRM(25)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index bb87ade7869b7526d2482ecb7606de38f00a2c54..f2fff3f21c4ab27b96f8af6ad504c3ccd54b649a 100644 (file)
@@ -1,5 +1,5 @@
-# RUN: llvm-mc --disassemble %s -triple=armv4-linux-gnueabi |& FileCheck %s -check-prefix=V4
-# RUN: llvm-mc --disassemble %s -triple=armv5te-linux-gnueabi |& FileCheck %s -check-prefix=V5TE
+# RUN: llvm-mc --disassemble %s -triple=armv4-linux-gnueabi 2>&1 | FileCheck %s -check-prefix=V4
+# RUN: llvm-mc --disassemble %s -triple=armv5te-linux-gnueabi 2>&1 | FileCheck %s -check-prefix=V5TE
 
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0 
 # -------------------------------------------------------------------------------------------------
index 275bae2fa28ed88208d2ca8dce6cd636e966ad5b..d5c8cbba9d3652b75a68cf1300aa333f8b11f792 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s
 
 # CHECK: potentially undefined
 # CHECK: 0x1f 0x12 0xb0 0x00
index 635b66ea43f0e922e2bda8d55687000ea11103d2..d251eb4a303ca4335064eae3bf1fdbde45ba5c83 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s
 
 # CHECK: potentially undefined
 # CHECK: 0xd1 0xf1 0x5f 0x01
index 6f1da8eb2373cbaa083cf75e7be062d26a474460..d0cb520e32d0dfe9e54976d214126b490f8a9f44 100644 (file)
@@ -1,5 +1,5 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s -check-prefix=CHECK-WARN
-# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s -check-prefix=CHECK-WARN
+# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s
 
 # CHECK-WARN: potentially undefined
 # CHECK-WARN: 0x74 0x03 0xaf 0x06
index dac4390cde8c8e987778a84add0d8484bad785e5..554ae53076211b8a38908295071fc976f989a561 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s
 
 # CHECK: potentially undefined
 # CHECK: 0x01 0x10 0x50 0x03
index ed5e350c13c8547bfee1010b1aa0a84060aee871..66073a81be52192c4c977ae7d994de5e1767db50 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s
 
 # CHECK: potentially undefined
 # CHECK: 0xff 0x00 0xb9 0x00
index a8f54f7127f247e751ec61f66bf735c7f042d98c..572d84474ccbaede7e37af30ca4767c142eecf13 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | FileCheck %s
 
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0 
 # -------------------------------------------------------------------------------------------------
index f7d6bc6edcf6ba74f0cfa25bafd9cd60f80daa40..9c269537dea2fe567d00f37422f71322c8a7e870 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | FileCheck %s
 
 # Opcode=196 Name=MOVs Format=ARM_FORMAT_DPSOREGFRM(5)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 26b286dbf4eac5a140b74a60053af3f2a52d0ac4..439aaed09780af53d3a23dca6d579d3d61207c5e 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s
 
 # CHECK: potentially undefined
 # CHECK: 0x00 0x10 0x51 0xfc
index 3e472cdbfb144745283066e985ea334f7d2cff61..d7853410d9d7f0b92698e2df3b454863013c8018 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | FileCheck %s
 
 # CHECK: warning: potentially undefined
 # CHECK: 0x00 0xf0 0x0f 0x01
index 3db86cc44fb620f67dfc01e49cdafeebcc62e654..472868fff66bfad6c10b11fc2c3455046c17aebc 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s
 
 # CHECK: potentially undefined
 # CHECK: 0x93 0x12 0x01 0x00 
index 5b1361094990c505cba7a741e71bc2377fc4723e..fdfda6df838fa0d9b9f1f0afd455439a894bcd91 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | FileCheck %s
 
 # Opcode=261 Name=RSCrs Format=ARM_FORMAT_DPSOREGFRM(5)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index d7939c19180fb76159f9fc6c7f485c8a7648b77f..a2a87703d08c53d7fbfeb2182c72db17defb2777 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s
 
 # CHECK: potentially undefined
 # CHECK: 0xb4 0x38 0x80 0x06
index 8ec49cad349949adf4d455c5534c3768c2f4ffd2..741d0590abf87bba1572a59f975867a08202268c 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | FileCheck %s
 
 # CHECK: warning: potentially undefined
 # CHECK: shadd16       r5, r7, r0
index 874378ed024c97428c5f2866b8fe9e8a527b7b42..832aa3ffa30f7f737fe39fcd86316a3c56e77699 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | FileCheck %s
 
 # Opcode=322 Name=SSAT Format=ARM_FORMAT_SATFRM(13)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index fef6125d283dc8310888991467d3df20b49a57cf..5e62802a3a40bfc0aedfdb34389bf7dc2965f4fc 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | FileCheck %s
 
 # Opcode=355 Name=STRBrs Format=ARM_FORMAT_STFRM(7)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 4c4c9abed2fcb58a79bf71fbad77154f209f5a7f..85b52dd6aa601ab4bbec18449b2049d69f24ee75 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | FileCheck %s
 
 # Opcode=426 Name=UQADD8 Format=ARM_FORMAT_DPFRM(4)
 #  31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
index 64bb171bf813222db5da1542be548a7d2db5f6ec..eef5d9fa972829deadf70d2bb49292a3a9a3d619 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=armv7-linux-gnueabi 2>&1 | FileCheck %s
 
 # CHECK: potentially undefined
 # CHECK: 0x9f 0x10 0x03 0x01
index e7645f0a59e3e724b60820dfe8d11cd984dbb01f..925dcd38b6ab3b77171677faa8fcb521abbca532 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=thumbv7 |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=thumbv7 2>&1 | FileCheck %s
 
 0x01 0x47
 # CHECK: 3:1: warning: potentially undefined
index 1922dc5eda5caf4806ffe23de6562e4f82c268c8..deff735b69dbc9563dd0e2729b6ecc3c77725115 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --edis %s -triple=x86_64-apple-darwin9 |& FileCheck %s
+# RUN: llvm-mc --edis %s -triple=x86_64-apple-darwin9 2>&1 | FileCheck %s
 
 # CHECK: [o:jne][w:    ][0-p:-][0-l:10=10] <br> 0:[RIP/112](pc)=18446744073709551606
 0x0f 0x85 0xf6 0xff 0xff 0xff
index 9353d8a1f436197308968a1e03c1c24bfca87cc7..31a3804decccf042e248b5e7dba12d2e9dbc284d 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # This instruction would decode as movmskps if the vvvv field in the VEX prefix was all 1s.
 0xc5 0xf0 0x50 0xc0
index c569ada40c9f5449810ea3c0a6e4b4a8bbd81f1d..7b2ea2aa06c78e587fd5577bd3d04a3d02458f69 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 |& grep "invalid instruction encoding"
+# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 2>&1 | grep "invalid instruction encoding"
 
 # This instruction would decode as cmpordps if the immediate byte was less than 8.
 0x0f 0xc2 0xc7 0x08
index 34cf0382a74c418c191da4d1c26ae0748db0fabf..83be1ca5db153900bc48fdb7b032b66e4dc09b2c 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 |& FileCheck %s
+# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 2>&1 | FileCheck %s
 
 # CHECK: warning
 0x00
index 3af40dd55dec0ec2bceeea1a1aafafaa13186ff5..583d4496dcc06622b584c169fc64efd76c5ae275 100644 (file)
@@ -1,3 +1,3 @@
-; RUN: not opt --foo |& grep "Unknown command line argument"
+; RUN: not opt --foo 2>&1 | grep "Unknown command line argument"
 
 ; there is no --foo
index ca2b1a336a18d82ddc3243d3fa2eec4406749f52..c84f56f8f694dda781c301d60fbfe6e95001b3f9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -basicaa -lint -disable-output < %s |& FileCheck %s
+; RUN: opt -basicaa -lint -disable-output < %s 2>&1 | FileCheck %s
 target datalayout = "e-p:64:64:64"
 
 declare fastcc void @bar()
index 5b1fe52ac151ddab1573ad17f4fbb6f0e849aad0..888a78fd9df47255fbd2fe416bf619cfd40f7bcd 100644 (file)
@@ -1,8 +1,8 @@
-;RUN: opt -S -O1 -debug-pass=Arguments |& FileCheck %s
-;RUN: opt -S -O2 -debug-pass=Arguments |& FileCheck %s
-;RUN: opt -S -Os -debug-pass=Arguments |& FileCheck %s
-;RUN: opt -S -Oz -debug-pass=Arguments |& FileCheck %s
-;RUN: opt -S -O3 -debug-pass=Arguments |& FileCheck %s
+;RUN: opt -S -O1 -debug-pass=Arguments 2>&1 | FileCheck %s
+;RUN: opt -S -O2 -debug-pass=Arguments 2>&1 | FileCheck %s
+;RUN: opt -S -Os -debug-pass=Arguments 2>&1 | FileCheck %s
+;RUN: opt -S -Oz -debug-pass=Arguments 2>&1 | FileCheck %s
+;RUN: opt -S -O3 -debug-pass=Arguments 2>&1 | FileCheck %s
 
 ; Just check that we get a non-empty set of passes for each -O opton.
 ;CHECK: Pass Arguments: {{.*}} -print-module
index 4bea58ca7b2351a98e2aa464d578ced859d8c9c2..afcb7fe3bb0f976507c4bcf659d6ea293ed67391 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -basicaa -gvn -stats -disable-output |& grep "Number of loads deleted"
+; RUN: opt < %s -basicaa -gvn -stats -disable-output 2>&1 | grep "Number of loads deleted"
 ; rdar://7363102
 
 ; GVN should be able to eliminate load %tmp22.i, because it is redundant with
index 31548565745f56de277f57d797e071547301bb5b..0f3efa09a1daa2b8b0b4112559daa69b9155dcbf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -globalopt -stats -disable-output |& grep "1 globalopt - Number of global vars shrunk to booleans"
+; RUN: opt < %s -globalopt -stats -disable-output 2>&1 | grep "1 globalopt - Number of global vars shrunk to booleans"
 
 @Stop = internal global i32 0                     ; <i32*> [#uses=3]
 
index c8624c04c7eeafc1e60000e20379ad325ac00344..7716d6a47becbe5bac60e502957c23928ad7db42 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %s -S  -inline -functionattrs -stats |& grep "Number of call sites deleted, not inlined"
-; RUN: opt %s -S  -inline -stats |& grep "Number of functions inlined"
+; RUN: opt %s -S  -inline -functionattrs -stats 2>&1 | grep "Number of call sites deleted, not inlined"
+; RUN: opt %s -S  -inline -stats 2>&1 | grep "Number of functions inlined"
 
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32"
 target triple = "i386-apple-darwin9.8"
index 4e100d3aee34b7de2c7de780c701784777b76750..f9fc551df358cf37990ac23b7eaf35badf4b7155 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -licm -stats -S |& grep "1 licm"
+; RUN: opt < %s -licm -stats -S 2>&1 | grep "1 licm"
 
 @"\01L_OBJC_METH_VAR_NAME_" = internal global [4 x i8] c"foo\00", section "__TEXT,__objc_methname,cstring_literals", align 1
 @"\01L_OBJC_SELECTOR_REFERENCES_" = internal global i8* getelementptr inbounds ([4 x i8]* @"\01L_OBJC_METH_VAR_NAME_", i32 0, i32 0), section "__DATA, __objc_selrefs, literal_pointers, no_dead_strip"
index 20f2c2bfd7429f36198f7cb3f4015141d2634846..9d73d31d504495c6f0f14bc358db16d418e881eb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loop-unswitch -stats -disable-output |& grep "1 loop-unswitch - Number of branches unswitched" | count 1
+; RUN: opt < %s -loop-unswitch -stats -disable-output 2>&1 | grep "1 loop-unswitch - Number of branches unswitched" | count 1
 ; PR 3170
 define i32 @a(i32 %x, i32 %y) nounwind {
 entry:
index 7b2a2fe5d52fb5948c8900c4f5722f857ee5be2a..d05d028728d50c410d9bc7995463408bc72cbf69 100644 (file)
@@ -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:
index 8829087d143cae9db3f7dbce829a6a1926e6e46b..eec8b5c5a90a203d4fb80527ad635deef3f54239 100644 (file)
@@ -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:
index 96ba4a56aacb38f56b568250613dda961dfe0f79..4af079f8cdf7fd6207ab55a2c1c74dfede6d6e4d 100644 (file)
@@ -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)
index eb81564b669db8d506af8aff8fb6ac652839ff9d..5b5dbcc225c1e037b6a5a3f81f0fc9c09eb81c17 100644 (file)
@@ -1,5 +1,5 @@
 ; This function contains two tail calls, which should be eliminated
-; RUN: opt < %s -tailcallelim -stats -disable-output |& grep "2 tailcallelim"
+; RUN: opt < %s -tailcallelim -stats -disable-output 2>&1 | grep "2 tailcallelim"
 
 define i32 @Ack(i32 %M.1, i32 %N.1) {
 entry:
index 37365311b341c18eef33d561910a1a7b96ddeba6..42ac2f9dc4b9618449975153dc600099a9a84a8e 100644 (file)
@@ -1,5 +1,5 @@
 ; Duplicate the return into if.end to enable TCE.
-; RUN: opt %s -tailcallelim -stats -disable-output |& grep "Number of return duplicated"
+; RUN: opt %s -tailcallelim -stats -disable-output 2>&1 | grep "Number of return duplicated"
 
 define i32 @fib(i32 %n) nounwind ssp {
 entry:
index 03e99bc9bf6aa11739ee8e717d2f3c973133bfbc..7853d7ba06fb3bfee0e2268498b1dbf59c7a09a6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -tailduplicate -taildup-threshold=3 -stats -disable-output |& not grep tailduplicate
+; RUN: opt < %s -tailduplicate -taildup-threshold=3 -stats -disable-output 2>&1 | not grep tailduplicate
 ; XFAIL: *
 
 define i32 @foo(i32 %l) nounwind  {
index 2cbe6a922ee62c3116440772d755631de62db3bc..b36111271145b7c8619633722298cb46212853dd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s |& grep "value doesn't match function result type 'i32'"
+; RUN: not llvm-as < %s 2>&1 | grep "value doesn't match function result type 'i32'"
 
 ; Verify the the operand type of the ret instructions in a function match the
 ; delcared return type of the function they live in.
index 98c43850b12216ab91c04d47be01b2c272f1ab67..108ae5f76579141d5a6fe63f89ecd319befe127a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s |& grep "invalid getelementptr indices"
+; RUN: not llvm-as < %s 2>&1 | grep "invalid getelementptr indices"
 
 ; This testcase is invalid because we are indexing into a pointer that is 
 ; contained WITHIN a structure.
index 80ab122d0b7dbaa7c04ff0e91067e8175ab48ed3..96d978d1dc0cb967f6c6f8504d0e85f8dae924f3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s |& not grep {Instruction operands must be first-class}
+; RUN: llvm-as < %s 2>&1 | not grep {Instruction operands must be first-class}
 
 ; This previously was for PR826, but structs are now first-class so
 ; the following is now valid.
index aa26265791dc4a6dc4a0b1251cc5508988c71f3c..6e7468c1d9ebc3af63569efc2783b9fb20eb5b2f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s |& grep "llvm intrinsics cannot be defined"
+; RUN: not llvm-as < %s 2>&1 | grep "llvm intrinsics cannot be defined"
 ; PR1047
 
 define void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) {
index 58f3098f9512569d1a9e6b232de74e2c778b8a96..51258bef76e58fd632479d36e641e1a7cc4b9ca5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as %s -o /dev/null |& grep "Cannot allocate unsized type"
+; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "Cannot allocate unsized type"
 ; PR2113
 
 define void @test() {
index 65e884f46e3d013f61b02a74d663faa7f4619da8..c6d5afd51c953833d9b63acd7ad117304df79cba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as %s -o /dev/null |& grep "alignment argument of memory intrinsics must be a constant int"
+; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "alignment argument of memory intrinsics must be a constant int"
 ; PR2318
 
 define void @x(i8* %a, i8* %src, i64 %len, i32 %align) nounwind  {
index f2cdc8ce4decd530e381febb9cfaee0195940f86..42503fabbec9e83beb52ed34c0ba5b72dc5fc497 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s |& grep "value doesn't match function result type 'void'"
+; RUN: not llvm-as < %s 2>&1 | grep "value doesn't match function result type 'void'"
 
 define void @foo() {
   ret i32 0
index 58d8bdd3c64f23f66c21a88e723936f3afbbeca7..f31bc107accf4945cbab07c68b9764cf887a5ef1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s |& grep "multiple entries for the same basic block"
+; RUN: not llvm-as < %s 2>&1 | grep "multiple entries for the same basic block"
 
 
 
index 0b677f2301c52fffeb9f17f82a162f61d0ccf481..7b42fd28e3d878e57bd1474a7d0f31902b4fa9b5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s |& grep "PHI nodes not grouped at top"
+; RUN: not llvm-as < %s 2>&1 | grep "PHI nodes not grouped at top"
 
 
 
index 449ea36519cc9cf763f14d0462d5d124e6c05561..c24c0ebba3d1222d78d3d5b597f0a4081a1f1b8d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as %s -o /dev/null |& grep "Only PHI nodes may reference their own value"
+; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "Only PHI nodes may reference their own value"
 
 ; Test that self referential instructions are not allowed
 
index 1275abaff39949128b78951d47db4b7c0c9bb9e9..a52e796b2b86f61ecd3c35cf400e2530ae9ce8e7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN:  not llvm-as %s -o /dev/null |& grep "Aliasing chain should end with function or global variable"
+; RUN:  not llvm-as %s -o /dev/null 2>&1 | grep "Aliasing chain should end with function or global variable"
 
 ; Test that alising chain does not create a cycle
 
index 48cd061d32219e128ca599637fb88a1e37c718ab..66c5396443acd6daeb8592f84f0032bab43ad4ce 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s -o /dev/null |& FileCheck %s
+; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
 
 declare i32 @llvm.ctlz.i32(i32, i1)
 declare i32 @llvm.cttz.i32(i32, i1)
index 50bfa616f0dcc93eab0fb2b7818290eb2335b9cf..17e2c3399967d3d2071ba9ecb44f21edcb81c59c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s -o /dev/null |& FileCheck %s
+; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
 
 define i32 @f1(i32 %x) {
        %y = add i32 %z, 1
index b764a63f0a4aacdc627090c2de39365ee49ca70a..7002c5c825f74ce887239a7d53330323138424fe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s |& FileCheck %s
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
 
 define void @fpmath1(i32 %i, float %f, <2 x float> %g) {
   %s = add i32 %i, %i, !fpmath !0
index 2a0336b03f3b4fe15b572cfa50f2bbb0b6dd4a0a..06f40f00527a68eb386b518fe6d3223b93e95457 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s -o /dev/null |& FileCheck %s
+; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
 
 ; PR1042
 define i32 @foo() {
index 7a317fca8f2cf04daba78b28abb4f15aa0f1345b..b6a75d13bba0963f18068607f7add705c0ea5e65 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s -o /dev/null |& FileCheck %s
+; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
 
 define void @f1(i8* %x) {
 entry:
index b306bdb719efe2291a904396b507846f47dd5fb2..028f41bb557c2a11cf4cdd30bf9bcf9c08132cb6 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: yaml-bench -canonical %s |& FileCheck %s
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
 
 # Invalid use of BOM
 # inside a
index 6788f0bfc31a797bb77afcb712645b77bbead7fb..bab2c1b89ca3794913806080f6e61d0ff009a270 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: yaml-bench -canonical %s |& FileCheck %s
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
 
 commercial-at: @text
 grave-accent: `text
index 7dadff76f8d790fb18baaf0420e476d2a22b75eb..eedfc08cf38ac236ae8605289c64fc0b3c90707d 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: yaml-bench -canonical %s |& FileCheck %s
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
 #
 # We don't currently reject tabs as indentation.
 # XFAIL: *
index cd8421ad2792fde694e4aa1f878f724ef2df043e..27dbd8396eaa6f7a9bd673086e6c392cbdf97632 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: yaml-bench -canonical %s |& FileCheck %s
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
 
 Bad escapes:
   "\c
index 7ca948301691b4b21d8db1be06104f11de8397a4..c4a5299562a41ac632906b1825b62fcfd7b54040 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: yaml-bench -canonical %s |& FileCheck %s
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
 
 %YAML 1.1
 %YAML 1.1
index 279b54afa142552923feeabf6559e4c3a43a6306..f7cff3a8390c933f3f79f32e0145634fc1c8a914 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: yaml-bench -canonical %s |& FileCheck %s
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
 #
 # We don't currently parse TAG directives.
 # XFAIL: *
index f13538bc87e00c33740240c26c9b20f40111cf48..73c493d76379cbf2329ed09ab0b26af5244b74f7 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: yaml-bench -canonical %s |& FileCheck %s
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
 #
 # We don't currently look at the content of literal tags.
 # XFAIL: *
index a811bfdefe397e642ea79ceb992f592c920c3889..9844f53a4ef38eb774dbb35f4debe095d25cf4c5 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: yaml-bench -canonical %s |& FileCheck %s
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
 #
 # We don't currently validate tags.
 # XFAIL: *
index f69037820ebdaf81b7b961fc58dda3e041239ef3..9d8a58ca33ae2691924fea6c0058c807dd12bf89 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: yaml-bench -canonical %s |& FileCheck %s
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
 #
 # Indent trimming is not yet implemented.
 # XFAIL: *
index 890f6bf2e71852459bf80df1e3679b7c57e57c2e..a83fcd45e2c01edd1545d5886d7438dd21ceb896 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: yaml-bench -canonical %s |& FileCheck %s
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
 #
 # Not quite sure why this doesn't fail.
 # XFAIL: *
index 2bcc28337f9fbd22ce01833c4b7952cd02a73077..6eb7917a97e368fd6163ede5a43a2c8ddd0160b9 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: yaml-bench -canonical %s |& FileCheck %s
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
 
 - |
 
index 5b981e983392cc3df074feb20fb4c73790129efe..53faeb9e001b244783bbc13fbf1a02cf23da6704 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: yaml-bench -canonical %s |& FileCheck %s
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
 #
 # This fails because even without a key token, some contexts (in this case flow
 # maps) allow implicit null keys, which mix with this in weird ways.