llvm-project/mlir/test/Dialect/Standard
Max Kudryavtsev 0b8cb87e0d [MLIR][STD] Add safe scalar constant propagation for FPTruncOp
Perform scalar constant propagation for FPTruncOp only if the resulting value can be represented without precision loss or rounding.

Example:
%cst = constant 1.000000e+00 : f32
%0 = fptrunc %cst : f32 to bf16
-->
%cst = constant 1.000000e+00 : bf16

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D107518
2021-08-06 16:31:29 -07:00
..
bufferize.mlir [mlir] Move BufferizeDimOp to Tensor/Transforms/Bufferize.cpp 2021-07-02 10:05:59 +09:00
canonicalize-cf.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
canonicalize.mlir [MLIR][STD] Add safe scalar constant propagation for FPTruncOp 2021-08-06 16:31:29 -07:00
expand-ops.mlir [mlir] Use static shape knowledge when lowering memref.reshape 2021-05-11 18:21:09 +02:00
expand-tanh.mlir [mlir][math] Split off the math dialect. 2021-02-12 10:55:12 +01:00
func-bufferize.mlir [mlir] Assume terminators in nested regions are always legal in FuncBufferizePass 2021-04-21 11:55:11 +03:00
invalid.mlir [MLIR][std] Introduce bitcast operation 2021-08-06 08:47:51 -07:00
ops.mlir [MLIR][std] Introduce bitcast operation 2021-08-06 08:47:51 -07:00
parser.mlir [MLIR] Add a switch operation to the standard dialect 2021-04-12 18:46:02 -07:00
tensor-constant-bufferize.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00