projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement NEON domain switching for scalar <-> S-register vmovs on ARM
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
fmuls.ll
diff --git
a/test/CodeGen/ARM/fmuls.ll
b/test/CodeGen/ARM/fmuls.ll
index bc118b8cb22666bbce1a5a209eaaeb8543f3a887..3c3182bc6341da6958a34e2dce7af3ab3007718e 100644
(file)
--- a/
test/CodeGen/ARM/fmuls.ll
+++ b/
test/CodeGen/ARM/fmuls.ll
@@
-21,3
+21,12
@@
entry:
; CORTEXA8: vmul.f32 d0, d1, d0
; CORTEXA9: test:
; CORTEXA9: vmul.f32 s{{.}}, s{{.}}, s{{.}}
+
+; VFP2: test2
+define float @test2(float %a) nounwind {
+; CHECK-NOT: mul
+; CHECK: mov pc, lr
+ %ret = fmul float %a, 1.0
+ ret float %ret
+}
+