Temporarily disable Hexagon tests. They are failing on OS X
[oota-llvm.git] / test / CodeGen / ARM / fixunsdfdi.ll
index d3038b9af76c5833dd6039f32694244d5cf6008c..6db2385a63ebdbbe57474ea4d8d7a04eff7b03f8 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -march=arm -mattr=+vfp2
-; RUN: llvm-as < %s | llc -march=arm -mattr=vfp2 | not grep fstd
+; RUN: llc < %s -march=arm -mattr=+vfp2
+; RUN: llc < %s -march=arm -mattr=vfp2 | not grep vstr.64
 
 define hidden i64 @__fixunsdfdi(double %x) nounwind readnone {
 entry:
@@ -13,7 +13,7 @@ bb5:          ; preds = %bb3
        %u.in.mask = and i64 %x14, -4294967296          ; <i64> [#uses=1]
        %.ins = or i64 0, %u.in.mask            ; <i64> [#uses=1]
        %0 = bitcast i64 %.ins to double                ; <double> [#uses=1]
-       %1 = sub double %x, %0          ; <double> [#uses=1]
+       %1 = fsub double %x, %0         ; <double> [#uses=1]
        %2 = fptosi double %1 to i32            ; <i32> [#uses=1]
        %3 = add i32 %2, 0              ; <i32> [#uses=1]
        %4 = zext i32 %3 to i64         ; <i64> [#uses=1]