1 ; RUN: llc -mtriple=arm-eabi -mattr=vfp2 %s -o - | FileCheck %s 2 3 ; naive codegen for this is: 4 ; _i: 5 ; fmdrr d0, r0, r1 6 ; fmrrd r0, r1, d0 7 ; bx lr 8 9 define i64 @test(double %X) { 10 %Y = bitcast double %X to i64 11 ret i64 %Y 12 } 13 14 ; CHECK-LABEL: test: 15 ; CHECK-NOT: fmdrr 16 ; CHECK-NOT: fmrrd 17 18