[PATCH] D107865: [ARM] Add MVE lowering for fptosi.sat
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 10 13:05:48 PDT 2021
dmgreen created this revision.
dmgreen added reviewers: samtebbs, SjoerdMeijer, ostannard, NickGuy, simon_tatham.
Herald added subscribers: hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.
This adds lowering of the llvm.fptosi.sat and llvm.fptoui.sat intinsics, selecting a VCVT instruction which under MVE will inherently perform the saturate.
https://reviews.llvm.org/D107865
Files:
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll
llvm/test/CodeGen/Thumb2/mve-fptoui-sat-vector.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107865.365592.patch
Type: text/x-patch
Size: 160570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210810/4838eca4/attachment-0001.bin>
More information about the llvm-commits
mailing list