Unverified Commit 8827ff92 authored by Victor Perez's avatar Victor Perez Committed by GitHub
Browse files

[MLIR][Arith] Add rounding mode attribute to `truncf` (#86152)



Add rounding mode attribute to `arith`. This attribute can be used in
different FP `arith` operations to control rounding mode. Rounding modes
correspond to IEEE 754-specified rounding modes. Use in `arith.truncf` folding.

As this is not supported in dialects other than LLVM, conversion should fail for
now in case this attribute is present.

---------

Signed-off-by: default avatarVictor Perez <victor.perez@codeplay.com>
parent da1d3d8f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment