diff options
author | lorenzo chelini <l.chelini@icloud.com> | 2024-11-26 11:58:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-26 11:58:43 +0100 |
commit | 4a7b56e6e7dd0f83c379ad06b6e81450bc691ba6 (patch) | |
tree | 12c052fcf17e217957f6c7fdfc2641b1ec9cf7a3 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | 45fdb7755737f10822003a3dd1870ac5a5c0b8eb (diff) | |
download | llvm-4a7b56e6e7dd0f83c379ad06b6e81450bc691ba6.zip llvm-4a7b56e6e7dd0f83c379ad06b6e81450bc691ba6.tar.gz llvm-4a7b56e6e7dd0f83c379ad06b6e81450bc691ba6.tar.bz2 |
[MLIR][Arith] Add denormal attribute to binary/unary operations (#112700)
Add support for denormal in the Arith dialect (binary and unary
operations).
Denormal are attached to every operation, and they can be of three
different
kinds:
1) ieee, denormal are preserved and processed as defined by IEEE 754
rules.
2) preserve sign, a mode where denormal numbers are flushed to zero, but
the
sign of the zero (+0 or -0) is preserved.
3) positive zero, a mode where all denormal numbers are flushed to
positive zero
(+0), ignoring the sign of the original number.
Denormal refers to both the operands and the result. Currently only
lowering for
ieee is supported.
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions