summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/lrint-conv.ll
Commit message (Collapse)AuthorAgeFilesLines
* [AArch64] Handle ISD::LRINT and ISD::LLRINTAdhemerval Zanella2019-05-281-4/+12
| | | | | | | | | | | This patch optimizes ISD::LRINT and ISD::LLRINT to frintx plus fcvtzs. It currently only handles the scalar version. Reviewed By: SjoerdMeijer, mstorsjo Differential Revision: https://reviews.llvm.org/D62018 llvm-svn: 361877
* [CodeGen] Add lrint/llrint builtinsAdhemerval Zanella2019-05-281-0/+56
This patch add the ISD::LRINT and ISD::LLRINT along with new intrinsics. The changes are straightforward as for other floating-point rounding functions, with just some adjustments required to handle the return value being an interger. The idea is to optimize lrint/llrint generation for AArch64 in a subsequent patch. Current semantic is just route it to libm symbol. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D62017 llvm-svn: 361875
OpenPOWER on IntegriCloud