MIR Serialization: print and parse LLVM IR using MIR format.
[oota-llvm.git] / test / CodeGen / X86 / phys_subreg_coalesce-2.ll
index 13e804d94a578b93f291fef70db4103637e738aa..8ee97ae07e6536d16ee0dd5961275d8307f7de92 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: llc < %s -march=x86 | grep mov | count 4
+; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc -no-phi-elim-live-out-early-exit -terminal-rule < %s -march=x86 | FileCheck %s
 ; PR2659
 
 define i32 @binomial(i32 %n, i32 %k) nounwind {
@@ -12,7 +13,8 @@ forcond.preheader:            ; preds = %entry
 
 ifthen:                ; preds = %entry
        ret i32 0
-
+; CHECK: forbody
+; CHECK-NOT: mov
 forbody:               ; preds = %forbody, %forcond.preheader
        %indvar = phi i32 [ 0, %forcond.preheader ], [ %divisor.02, %forbody ]          ; <i32> [#uses=3]
        %accumulator.01 = phi i32 [ 1, %forcond.preheader ], [ %div, %forbody ]         ; <i32> [#uses=1]