summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/fp16.ll
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-07-29 09:56:45 +0000
committerTim Northover <tnorthover@apple.com>2014-07-29 09:56:45 +0000
commit4e13a61413e83dafc5c4c3675c9f2bbdade1dcb7 (patch)
tree2acc817714568d12711165e082c95645ebf67865 /llvm/test/CodeGen/ARM/fp16.ll
parentf67bb2079d8bc4e98c436cee5e4e55050e263c03 (diff)
downloadbcm5719-llvm-4e13a61413e83dafc5c4c3675c9f2bbdade1dcb7.tar.gz
bcm5719-llvm-4e13a61413e83dafc5c4c3675c9f2bbdade1dcb7.zip
ARM: add __aeabi_d2h for truncation on AEABI systems
ARM does actually define the name for this conversion, so we should use it on "-eabi" platforms. llvm-svn: 214176
Diffstat (limited to 'llvm/test/CodeGen/ARM/fp16.ll')
-rw-r--r--llvm/test/CodeGen/ARM/fp16.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/fp16.ll b/llvm/test/CodeGen/ARM/fp16.ll
index 501c2ba40ff..93cf2f4b1aa 100644
--- a/llvm/test/CodeGen/ARM/fp16.ll
+++ b/llvm/test/CodeGen/ARM/fp16.ll
@@ -73,7 +73,7 @@ define arm_aapcs_vfpcc i16 @test_to_fp16(double %in) {
; CHECK-ARMV8: vcvtb.f16.f64 [[TMP:s[0-9]+]], d0
; CHECK-ARMV8: vmov r0, [[TMP]]
-; CHECK-SOFTFLOAT: bl __truncdfhf2
+; CHECK-SOFTFLOAT: bl __aeabi_d2h
ret i16 %val
}
OpenPOWER on IntegriCloud