[llvm-commits] [llvm] r52184 - in /llvm/trunk/test/Transforms/InstCombine: 2008-01-06-BitCastAttributes.ll call.ll
Matthijs Kooijman
matthijs at stdin.nl
Tue Jun 10 09:13:38 PDT 2008
Author: matthijs
Date: Tue Jun 10 11:13:38 2008
New Revision: 52184
URL: http://llvm.org/viewvc/llvm-project?rev=52184&view=rev
Log:
Ignore stderr for some more tests that expect warnings there.
This fixes 2 testcases.
Modified:
llvm/trunk/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll
llvm/trunk/test/Transforms/InstCombine/call.ll
Modified: llvm/trunk/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll?rev=52184&r1=52183&r2=52184&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll Tue Jun 10 11:13:38 2008
@@ -1,4 +1,5 @@
-; 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
Modified: llvm/trunk/test/Transforms/InstCombine/call.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/call.ll?rev=52184&r1=52183&r2=52184&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/call.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/call.ll Tue Jun 10 11:13:38 2008
@@ -1,4 +1,5 @@
-; 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.
More information about the llvm-commits
mailing list