[PATCH] [AArch64] Add nvcast patterns for v4f16 and v8f16

Pirama Arumuga Nainar pirama at google.com
Wed Apr 22 10:45:26 PDT 2015


Hi jmolloy, srhines, ab,

Constant stores of f16 vectors can create NvCast nodes from various
operand types to v4f16 or v8f16 depending on patterns in the stored
constants.  This patch adds nvcast rules with v4f16 and v8f16 values.

AArchISelLowering::LowerBUILD_VECTOR has the details on which constant
patterns generate the nvcast nodes.

http://reviews.llvm.org/D9201

Files:
  lib/Target/AArch64/AArch64InstrInfo.td
  test/CodeGen/AArch64/fp16-vector-nvcast.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9201.24240.patch
Type: text/x-patch
Size: 7155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150422/971e5eb3/attachment.bin>


More information about the llvm-commits mailing list