[PATCH] D62018: [AArch64] Handle ISD::LRINT and ISD::LLRINT

Adhemerval Zanella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 11:26:58 PDT 2019


zatrazz created this revision.
zatrazz added reviewers: efriedma, rengolin, javed.absar, huntergr, SjoerdMeijer, t.p.northover, echristo, evandro.
zatrazz added a project: LLVM.
Herald added subscribers: hiraditya, kristof.beyls.

This patch optimizes ISD::LRINT and ISD::LLRINT to frintx plus
fcvtzs. It currently only handles the scalar version.

This patch depends on https://reviews.llvm.org/D62017.


Repository:
  rL LLVM

https://reviews.llvm.org/D62018

Files:
  llvm/include/llvm/Target/TargetSelectionDAG.td
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/llrint-conv.ll
  llvm/test/CodeGen/AArch64/lrint-conv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62018.199864.patch
Type: text/x-patch
Size: 4763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190516/1b1d9089/attachment.bin>


More information about the llvm-commits mailing list