Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [AArch64] Handle ISD::LROUND and ISD::LLROUND | Adhemerval Zanella | 2019-05-16 | 1 | -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 builtins | Adhemerval Zanella | 2019-05-16 | 1 | -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 |