llvm-project/mlir/lib
lorenzo chelini a0fc94ab61 [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
2022-06-08 13:07:39 +02:00
..
Analysis [MLIR][Presburger] Fix subtract processing extra inequalities 2022-06-07 22:51:03 +05:30
Bindings/Python [windows] Remove unused pybind exception params 2022-05-31 12:36:57 -07:00
CAPI [mlir] Move diagnostic handlers instead of copying 2022-05-21 13:25:24 +02:00
Conversion [MLIR][Math] Add round operation 2022-06-08 13:07:39 +02:00
Dialect [mlir][bufferize] Improve buffer writability analysis 2022-06-08 10:11:52 +02:00
ExecutionEngine Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 00:31:44 -07:00
IR [mlir:Printer][NFC] Add utility methods for printing escaped/hex strings 2022-05-25 20:54:27 -07:00
Interfaces Re-land "[mlir] Add integer range inference analysis"" 2022-06-03 17:13:48 +00:00
Parser [mlir] Fix ClangTidy warning (NFC). 2022-06-03 12:46:14 +02:00
Pass [mlir:Pass] Add support for op-agnostic pass managers 2022-05-12 13:12:59 -07:00
Reducer [mlir] Add asserts when changing various MLIRContext configurations 2022-04-15 21:49:03 -07:00
Rewrite [mlir:PDLInterp] Refactor the implementation of result type inferrence 2022-05-01 12:25:05 -07:00
Support [mlir] Fix the error message for missing explicit TypeID 2022-05-18 21:08:09 +00:00
TableGen [mlir:PDLL] Add better support for providing Constraint/Pattern/Rewrite documentation 2022-06-02 16:31:07 -07:00
Target [mlir] Support convert token type from LLVM IR. 2022-06-02 03:32:51 +00:00
Tools [mlir:PDLL] Add support for inlay hints 2022-06-06 20:20:19 -07:00
Transforms [mlir:MultiOpDriver] Quick fix the assertion position 2022-06-02 23:25:35 +00:00
CMakeLists.txt [MLIR] Fix build without native arch 2022-05-12 09:50:51 +02:00