projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[ARM] Use AEABI helpers for i64 div and rem
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
fmdrr-fmrrd.ll
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