[PATCH] D44561: [ARM] Add HasFloat16 to TargetInfo

Sjoerd Meijer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 16 06:52:19 PDT 2018

SjoerdMeijer created this revision.
SjoerdMeijer added reviewers: t.p.northover, samparker, olista01.
Herald added subscribers: kristof.beyls, javed.absar.

For generating NEON intrinsics, this determines the NEON data type, and
whether it should be a half type or an i16 type. I.e., we always pass a half
type for AArch64, this hasn't changed, but now also for ARM but only when
FullFP16 is enabled, and i16 otherwise.


This is intended to be non-functional change, but together with the backend
work in https://reviews.llvm.org/D44538 which adds support for f16 vectors,
this enables adding the AArch32 FP16 (vector) intrinsics.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44561.138692.patch
Type: text/x-patch
Size: 4118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180316/1df5bdc6/attachment.bin>

More information about the cfe-commits mailing list