As Dan pointed out, movzbl, movsbl, and friends are nicer than their alias
[oota-llvm.git] / test / CodeGen / X86 / pr3457.ll
index 36d4a5d554f5ae6fbf9728b294d41ec173058b94..f7af927d613647f18fc0bda0b672f29e5585e02d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | not grep fstpt
+; RUN: llc < %s -mtriple=i386-apple-darwin | not grep fstpt
 ; PR3457
 ; rdar://6548010
 
@@ -6,9 +6,9 @@ define void @foo(double* nocapture %P) nounwind {
 entry:
        %0 = tail call double (...)* @test() nounwind           ; <double> [#uses=2]
        %1 = tail call double (...)* @test() nounwind           ; <double> [#uses=2]
-       %2 = mul double %0, %0          ; <double> [#uses=1]
-       %3 = mul double %1, %1          ; <double> [#uses=1]
-       %4 = add double %2, %3          ; <double> [#uses=1]
+       %2 = fmul double %0, %0         ; <double> [#uses=1]
+       %3 = fmul double %1, %1         ; <double> [#uses=1]
+       %4 = fadd double %2, %3         ; <double> [#uses=1]
        store double %4, double* %P, align 8
        ret void
 }