From 1c61990b2daa77f3444eb2b6d8157cdc805ce22f Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 14 Jun 2011 22:24:32 +0000 Subject: Check the llc output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133021 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/tail-threshold.ll | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/CodeGen/X86/tail-threshold.ll') diff --git a/test/CodeGen/X86/tail-threshold.ll b/test/CodeGen/X86/tail-threshold.ll index 9541c01a4f..6c7d5aaecc 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() -- cgit v1.2.3