1 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -pre-alloc-split -stats |& \
2 ; RUN: grep {pre-alloc-split} | grep {Number of intervals split} | grep 1
4 define void @test(double* %P, i32 %cond) nounwind {
6 %0 = load double* %P, align 8 ; <double> [#uses=1]
7 %1 = add double %0, 4.000000e+00 ; <double> [#uses=2]
8 %2 = icmp eq i32 %cond, 0 ; <i1> [#uses=1]
9 br i1 %2, label %bb1, label %bb
12 %3 = add double %1, 4.000000e+00 ; <double> [#uses=1]
15 bb1: ; preds = %bb, %entry
16 %A.0 = phi double [ %3, %bb ], [ %1, %entry ] ; <double> [#uses=1]
17 %4 = mul double %A.0, 4.000000e+00 ; <double> [#uses=1]
18 %5 = tail call i32 (...)* @bar() nounwind ; <i32> [#uses=0]
19 store double %4, double* %P, align 8