Check the llc output.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 14 Jun 2011 22:24:32 +0000 (22:24 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 14 Jun 2011 22:24:32 +0000 (22:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133021 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/tail-threshold.ll

index 9541c01a4f0605b4ebcd83929e2bd47d0228d9da..6c7d5aaeccf082a09a339db50c4e18d09a0d8b69 100644 (file)
@@ -1,9 +1,12 @@
-; RUN: llc -march=x86-64 %s -stats -tail-merge-threshold 2 -o /dev/null |& FileCheck %s
+; RUN: llc -march=x86-64 -tail-merge-threshold 2 < %s | FileCheck %s
 
 ; Test that we still do some merging if a block has more than
 ; tail-merge-threshold predecessors.
 
-; CHECK: 2 branchfolding   - Number of block tails merged
+; CHECK:       callq   bar
+; CHECK:       callq   bar
+; CHECK:       callq   bar
+; CHECK-NOT:    callq
 
 declare void @bar()