[llvm-commits] [PATCH] test/Transforms/TailDup/2008-06-11-AvoidDupLoopHeader.ll

NAKAMURA Takumi geek4civic at gmail.com
Wed Sep 1 11:01:21 PDT 2010


Hello, everyone.

This test passes unexpectedly on bash-less environment.

; RUN: opt < %s -tailduplicate -taildup-threshold=3 -stats
-disable-output | not grep tailduplicate

The output of opt -stats must be sent to stderr.
Confirmed on mingw, cygwin and centos5.


good night...Takumi
-------------- next part --------------
diff --git a/test/Transforms/TailDup/2008-06-11-AvoidDupLoopHeader.ll b/test/Transforms/TailDup/2008-06-11-AvoidDupLoopHeader.ll
index 88a5656..03e99bc 100644
--- a/test/Transforms/TailDup/2008-06-11-AvoidDupLoopHeader.ll
+++ b/test/Transforms/TailDup/2008-06-11-AvoidDupLoopHeader.ll
@@ -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 |& not grep tailduplicate
 ; XFAIL: *
 
 define i32 @foo(i32 %l) nounwind  {


More information about the llvm-commits mailing list