diff options
author | Balaji V. Iyer <bviyer@gmail.com> | 2023-04-13 17:58:14 +0000 |
---|---|---|
committer | Robert Suderman <suderman@google.com> | 2023-04-13 18:02:10 +0000 |
commit | be9115788c7f223dfc6d369455ce84c0e443743b (patch) | |
tree | 2b0464ae8e8df45e12f60aa24357b39e1559eeba /lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.h | |
parent | 43c42d6d7ab7f80c79e5b1bfd329b9e84eac06ba (diff) | |
download | llvm-be9115788c7f223dfc6d369455ce84c0e443743b.zip llvm-be9115788c7f223dfc6d369455ce84c0e443743b.tar.gz llvm-be9115788c7f223dfc6d369455ce84c0e443743b.tar.bz2 |
[mlir][math] Expand math.round to truncate, compare and increment.
Round functions are pushed directly to libm. This is problematic for
situations where libm is not available. This patch will decompose the
roundf function by adding 0.5 to positive number to input
(subtracting for negative) following by a truncate.
Reviewed By: rsuderman
Differential Revision: https://reviews.llvm.org/D148026
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.h')
0 files changed, 0 insertions, 0 deletions