1 ; RUN: llc -mtriple=arm-eabi -mattr=+vfp2 %s -o /dev/null 2 ; RUN: llc -mtriple=arm-eabi -mattr=vfp2 %s -o - | FileCheck %s 3 4 define hidden i64 @__fixunsdfdi(double %x) nounwind readnone { 5 entry: 6 %x14 = bitcast double %x to i64 ; <i64> [#uses=1] 7 br i1 true, label %bb3, label %bb10 8 9 bb3: ; preds = %entry 10 br i1 true, label %bb5, label %bb7 11 12 bb5: ; preds = %bb3 13 %u.in.mask = and i64 %x14, -4294967296 ; <i64> [#uses=1] 14 %.ins = or i64 0, %u.in.mask ; <i64> [#uses=1] 15 %0 = bitcast i64 %.ins to double ; <double> [#uses=1] 16 %1 = fsub double %x, %0 ; <double> [#uses=1] 17 %2 = fptosi double %1 to i32 ; <i32> [#uses=1] 18 %3 = add i32 %2, 0 ; <i32> [#uses=1] 19 %4 = zext i32 %3 to i64 ; <i64> [#uses=1] 20 %5 = shl i64 %4, 32 ; <i64> [#uses=1] 21 %6 = or i64 %5, 0 ; <i64> [#uses=1] 22 ret i64 %6 23 24 bb7: ; preds = %bb3 25 ret i64 0 26 27 bb10: ; preds = %entry 28 ret i64 0 29 } 30 31 ; CHECK-NOT: vstr.64 32 33