From 59e8efdd5938172e4907afc60d45dbd9cd67c6e1 Mon Sep 17 00:00:00 2001
From: Daniel Dunbar <daniel@zuster.org>
Date: Mon, 7 Sep 2009 19:26:02 +0000
Subject: Don't depend on Tcl behavior of redirecting stderr for all commands
 in a pipeline.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81153 91177308-0d34-0410-b5e6-96231b3b80d8
---
 test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll | 2 +-
 test/Transforms/InstCombine/call.ll                         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll b/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll
index 277b4f0..ea52ff8 100644
--- a/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll
+++ b/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll
@@ -1,5 +1,5 @@
 ; Ignore stderr, we expect warnings there
-; RUN: llvm-as < %s 2> /dev/null | opt -instcombine | llvm-dis | not grep bitcast
+; RUN: llvm-as < %s | opt -instcombine 2> /dev/null | llvm-dis | not grep bitcast
 
 define void @a() {
 	ret void
diff --git a/test/Transforms/InstCombine/call.ll b/test/Transforms/InstCombine/call.ll
index df9b2a6..e1677c8 100644
--- a/test/Transforms/InstCombine/call.ll
+++ b/test/Transforms/InstCombine/call.ll
@@ -1,5 +1,5 @@
 ; Ignore stderr, we expect warnings there
-; RUN: llvm-as < %s 2> /dev/null | opt -instcombine | llvm-dis | \
+; RUN: llvm-as < %s | opt -instcombine 2> /dev/null | llvm-dis | \
 ; RUN:    grep call | notcast
 ; END.
 
-- 
cgit v1.1