summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/lround-conv.ll
Commit message (Collapse)AuthorAgeFilesLines
* [AArch64] Handle ISD::LROUND and ISD::LLROUNDAdhemerval Zanella2019-05-161-4/+8
| | | | | | | This patch optimizes ISD::LROUND and ISD::LLROUND to fcvtas instruction. It currently only handles the scalar version. llvm-svn: 360894
* [CodeGen] Add lround/llround builtinsAdhemerval Zanella2019-05-161-0/+56
This patch add the ISD::LROUND and ISD::LLROUND 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 lround/llround generation for AArch64 in a subsequent patch. Current semantic is just route it to libm symbol. llvm-svn: 360889
OpenPOWER on IntegriCloud