The output of opt -stats must be sent to stderr. Patch by NAKAMURA Takumi!
authorBill Wendling <isanbard@gmail.com>
Wed, 1 Sep 2010 18:32:56 +0000 (18:32 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 1 Sep 2010 18:32:56 +0000 (18:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112724 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/TailDup/2008-06-11-AvoidDupLoopHeader.ll

index 88a565684c5df74d4cd7454ce96f7e9436124253..03e99bc9bf6aa11739ee8e717d2f3c973133bfbc 100644 (file)
@@ -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  {