CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / tail-threshold.ll
index 9541c01a4f0605b4ebcd83929e2bd47d0228d9da..f2296a0bd69f4a15ff34d341f70546f700ff2dfe 100644 (file)
@@ -1,9 +1,12 @@
-; RUN: llc -march=x86-64 %s -stats -tail-merge-threshold 2 -o /dev/null |& FileCheck %s
+; RUN: llc -mtriple=x86_64-pc-linux-gnu -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()