diff options
| author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-05-28 20:47:44 +0000 |
|---|---|---|
| committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-05-28 20:47:44 +0000 |
| commit | 6d7bf5e8df5455fa32cc437f7043bbb0a0607d49 (patch) | |
| tree | 2003d25498af8a576b461c14b43f1e72cf57c81e /llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp | |
| parent | dfc34f0211b78a288cddfdc59798132c8087592d (diff) | |
| download | bcm5719-llvm-6d7bf5e8df5455fa32cc437f7043bbb0a0607d49.tar.gz bcm5719-llvm-6d7bf5e8df5455fa32cc437f7043bbb0a0607d49.zip | |
[CodeGen] Add lrint/llrint builtins
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
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp')
0 files changed, 0 insertions, 0 deletions

