Change 2>&1 | to |&.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44344
91177308-0d34-0410-b5e6-
96231b3b80d8
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution 2>&1 | grep "Loop bb: 100 iterations"
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& grep {Loop bb: 100 iterations}
; PR1533
@array = weak global [101 x i32] zeroinitializer, align 32 ; <[100 x i32]*> [#uses=1]
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution 2>&1 | grep "13 iterations"
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& grep {13 iterations}
; PR1706
define i32 @f() {
-; RUN: llvm-as < %s | opt -analyze -scalar-evolution 2>&1 | grep -e '--> %b'
+; RUN: llvm-as < %s | opt -analyze -scalar-evolution |& grep -e {--> %b}
; PR1810
define void @fun() {