This fixes 2 testcases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52184
91177308-0d34-0410-b5e6-
96231b3b80d8
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep bitcast
+; Ignore stderr, we expect warnings there
+; RUN: llvm-as < %s 2> /dev/null | opt -instcombine | llvm-dis | not grep bitcast
define void @a() {
ret void
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
+; Ignore stderr, we expect warnings there
+; RUN: llvm-as < %s 2> /dev/null | opt -instcombine | llvm-dis | \
; RUN: grep call | notcast
; END.