Add a test case to check handling of dbg-declare by fast-isel.
[oota-llvm.git] / test / CodeGen / X86 / coalescer-commute1.ll
index 0fae2a6594665efb850b62713375ec39ffd4f9b1..8aa0bfdd51fbd181241831ed9eb944699ef95845 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin -mattr=+sse2 | not grep movaps
+; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | not grep movaps
 ; PR1877
 
 @NNTOT = weak global i32 0             ; <i32*> [#uses=1]
@@ -15,7 +15,7 @@ bb:           ; preds = %bb, %entry
        %tmp2 = getelementptr i32* %source, i32 %neuron.0               ; <i32*> [#uses=1]
        %tmp3 = load i32* %tmp2, align 4                ; <i32> [#uses=1]
        %tmp34 = sitofp i32 %tmp3 to float              ; <float> [#uses=1]
-       %tmp6 = add float %tmp34, %thesum.0             ; <float> [#uses=2]
+       %tmp6 = fadd float %tmp34, %thesum.0            ; <float> [#uses=2]
        %indvar.next = add i32 %neuron.0, 1             ; <i32> [#uses=2]
        %exitcond = icmp eq i32 %indvar.next, %tmp10            ; <i1> [#uses=1]
        br i1 %exitcond, label %bb13, label %bb