[PATCH] D107866: [ARM] Add VFP lowering for fptosi.sat

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 10 13:10:03 PDT 2021


dmgreen created this revision.
dmgreen added reviewers: samtebbs, SjoerdMeijer, NickGuy, ostannard, simon_tatham.
Herald added subscribers: hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.

This extends D107865 <https://reviews.llvm.org/D107865> to the VFP insructions, lowering llvm.fptosi.sat and llvm.fptoui.sat to VCVT instructions that inherently perform the saturate.


https://reviews.llvm.org/D107866

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMInstrVFP.td
  llvm/test/CodeGen/ARM/fptosi-sat-scalar.ll
  llvm/test/CodeGen/ARM/fptoui-sat-scalar.ll
  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: D107866.365597.patch
Type: text/x-patch
Size: 131034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210810/1aa5168c/attachment.bin>


More information about the llvm-commits mailing list