• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=arm -mattr=vfp2 | not grep fmdrr
2; RUN: llc < %s -march=arm -mattr=vfp2 | not grep fmrrd
3
4; naive codegen for this is:
5; _i:
6;        fmdrr d0, r0, r1
7;        fmrrd r0, r1, d0
8;        bx lr
9
10define i64 @test(double %X) {
11        %Y = bitcast double %X to i64
12        ret i64 %Y
13}
14