[PATCH] D111787: [AArch64] Improve fptosi.sat vector lowering

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 14 03:28:04 PDT 2021


dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, efriedma, kmclaughlin, samtebbs, t.p.northover.
Herald added subscribers: hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.

Similar to D111236 <https://reviews.llvm.org/D111236>, this improves the lowering of vector fptosi.sat and fptoui.sat, using legal converts and further saturating from there with min/max. f64 are excluded for the moment due to producing worse code in places compared to the unrolling.


https://reviews.llvm.org/D111787

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
  llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111787.379644.patch
Type: text/x-patch
Size: 119575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211014/0df7dcef/attachment-0001.bin>


More information about the llvm-commits mailing list