[PATCH] D81141: [ARM] Add FP_ROUND handling to splitting MVE stores
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 4 04:18:06 PDT 2020
dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samparker, efriedma, simon_tatham, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
This splits MVE vector stores of a fp_trunc in the same way that we do for standard trunc's. It extends PerformSplittingToNarrowingStores to handle fp_round, splitting the store into pieces and adding a VCVTNb to perform the actual fp_round. The actual store is then converted to an integer store so that it can truncate bottom lanes of the result.
https://reviews.llvm.org/D81141
Files:
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/Thumb2/mve-fp16convertloops.ll
llvm/test/CodeGen/Thumb2/mve-vcvt16.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81141.268413.patch
Type: text/x-patch
Size: 22229 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200604/9c1114b6/attachment.bin>
More information about the llvm-commits
mailing list