repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Adjust how NEON shifts are lowered
[llvm-core.git]
/
test
/
CodeGen
/
ARM
/
fmdrr-fmrrd.ll
blob
a3669b42dc6d3dc275dd776e74d8c612855a05a7
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