This patch optimizes ISD::LROUND and ISD::LROUND to fcvtas
instruction. It currently only handles the scalar version.
This patch depends on https://reviews.llvm.org/D61390.
Paths
| Differential D61391
[AArc64] Handle ISD::LROUND and ISD::LLROUND ClosedPublic Authored by zatrazz on May 1 2019, 11:22 AM.
Details Summary This patch optimizes ISD::LROUND and ISD::LROUND to fcvtas This patch depends on https://reviews.llvm.org/D61390.
Diff Detail Event Timelinecraig.topper added inline comments.
zatrazz marked an inline comment as done. Comment ActionsUpdated patch based on the previous comment. The main change adapt the testcases for D61390 Comment Actions Updated patch based on D61390 changes. The main change is it allows
zatrazz added inline comments.
Comment Actions Looks reasonable to me.
This revision is now accepted and ready to land.May 15 2019, 1:18 AM
Revision Contents
Diff 197599 llvm/include/llvm/Target/TargetSelectionDAG.td
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/llround-conv.ll
llvm/test/CodeGen/AArch64/lround-conv.ll
|
Is this really legal? I don't see any patterns or tests for lround.i32.