]> granicus.if.org Git - clang/commit
[NEON] Define fp16 vld and vst intrinsics conditionally
authorIvan A. Kosarev <ikosarev@accesssoftek.com>
Sun, 19 Aug 2018 16:30:57 +0000 (16:30 +0000)
committerIvan A. Kosarev <ikosarev@accesssoftek.com>
Sun, 19 Aug 2018 16:30:57 +0000 (16:30 +0000)
commitaf5e6d3ad7018cf9aea23da9b32d6673e3e09cf5
tree9bb55deb76d7cb7276181aef5929fb9b90b84ee5
parent6e672c87dfa10d1a96263a52cae8a0d5572754cf
[NEON] Define fp16 vld and vst intrinsics conditionally

This patch fixes definitions of vld and vst NEON intrinsics so
that we only define them if half-precision arithmetic is
supported on the target platform, as prescribed in ACLE 2.0.

Differential Revision: https://reviews.llvm.org/D49075

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340140 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/arm_neon.td
test/CodeGen/arm-neon-vld.c
test/CodeGen/arm-neon-vst.c
test/Sema/arm-no-fp16.c