[PATCH] D49075: [NEON] Define fp16 vld and vst intrinsics conditionally

Ivan Kosarev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 9 06:07:52 PDT 2018


kosarev created this revision.
kosarev added reviewers: SjoerdMeijer, jgreenhalgh, rengolin.
kosarev added a project: clang.
Herald added a reviewer: javed.absar.

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.


https://reviews.llvm.org/D49075

Files:
  include/clang/Basic/arm_neon.td
  test/CodeGen/arm-neon-vld.c
  test/CodeGen/arm-neon-vst.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49075.154585.patch
Type: text/x-patch
Size: 8032 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180709/76f2db94/attachment.bin>


More information about the cfe-commits mailing list