Check the llc output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133021 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2011-06-14 22:24:32 +00:00
parent 4e3adfde65
commit 1c61990b2d

View 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()