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.
Differential D62018
[AArch64] Handle ISD::LRINT and ISD::LLRINT zatrazz on May 16 2019, 11:26 AM. Authored by
Details This patch optimizes ISD::LRINT and ISD::LLRINT to frintx plus This patch depends on https://reviews.llvm.org/D62017.
Diff Detail Event Timeline
Comment Actions Updated patch based on previous comments. Add a pattern to handle i32 return and a testcase for Windows. Comment Actions Sorry, I was away for a bit. Yes, it looks good wrt Windows now - thanks for taking the time to fix it! |