blob: eb72faf8d811b180181d31014f81fc5932155d71 [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -march=arm -mattr=vfp2 | not grep fmdrr
2; RUN: llc < %s -march=arm -mattr=vfp2 | not grep fmrrd
Chris Lattner15f27a12007-11-27 22:43:37 +00003
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}