diff options
author | lorenzo chelini <l.chelini@icloud.com> | 2022-06-02 16:49:23 +0200 |
---|---|---|
committer | lorenzo chelini <l.chelini@icloud.com> | 2022-06-08 13:07:39 +0200 |
commit | a0fc94ab618973dc4454d0695abb104f6a8644d2 (patch) | |
tree | 3b2db3004e6f29155f2b8a0c9ed3be266e4c04ae /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 27f970aac8218b022f8b9282dcd47adb2c66cbb4 (diff) | |
download | llvm-a0fc94ab618973dc4454d0695abb104f6a8644d2.zip llvm-a0fc94ab618973dc4454d0695abb104f6a8644d2.tar.gz llvm-a0fc94ab618973dc4454d0695abb104f6a8644d2.tar.bz2 |
[MLIR][Math] Add round operation
Introduce RoundOp in the math dialect. The operation rounds the operand to the
nearest integer value in floating-point format. RoundOp lowers to LLVM
intrinsics 'llvm.intr.round' or as a function call to libm (round or roundf).
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D127286
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions