repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
CodeGen
/
ARM
/
fmdrr-fmrrd.ll
blob
315e6238732fcd54c8689d0d82a8a572cd5bb4b3
1
; RUN: llvm-as < %s | llc -march=arm -mattr=vfp2 | not grep fmdrr
2
; RUN: llvm-as < %s | llc -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
10
define i64 @test(double %X) {
11
%Y = bitcast double %X to i64
12
ret i64 %Y
13
}