aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-06-14 22:24:32 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-06-14 22:24:32 +0000
commit1c61990b2daa77f3444eb2b6d8157cdc805ce22f (patch)
treece6db4c93ccd3748ca56c14128a1e81e310fdd9d
parent4e3adfde653e8216a7f6faa726775f63f16e28d2 (diff)
downloadexternal_llvm-1c61990b2daa77f3444eb2b6d8157cdc805ce22f.zip
external_llvm-1c61990b2daa77f3444eb2b6d8157cdc805ce22f.tar.gz
external_llvm-1c61990b2daa77f3444eb2b6d8157cdc805ce22f.tar.bz2
Check the llc output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133021 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/X86/tail-threshold.ll7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/CodeGen/X86/tail-threshold.ll b/test/CodeGen/X86/tail-threshold.ll
index 9541c01..6c7d5aa 100644
--- a/test/CodeGen/X86/tail-threshold.ll
+++ b/test/CodeGen/X86/tail-threshold.ll
@@ -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()