diff options
author | Daniil Dudkin <39276703+unterumarmung@users.noreply.github.com> | 2023-09-15 00:49:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-15 00:49:58 +0300 |
commit | ca8cba76f9af9ca666a11deb8077ad7954226884 (patch) | |
tree | 840c63263ec5a8e465c3510ba163c36eb655e9b4 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 72bbac47389918502f95423eaeb90733a6b8bb89 (diff) | |
download | llvm-ca8cba76f9af9ca666a11deb8077ad7954226884.zip llvm-ca8cba76f9af9ca666a11deb8077ad7954226884.tar.gz llvm-ca8cba76f9af9ca666a11deb8077ad7954226884.tar.bz2 |
[mlir][arith] Introduce `minnumf` and `maxnumf` operations (#66429)
This patch is part of a larger initiative aimed at fixing floating-point
`max` and `min` operations in MLIR:
https://discourse.llvm.org/t/rfc-fix-floating-point-max-and-min-operations-in-mlir/72671.
Here we introduce new operations for floating-point numbers: `minnum`
and `maxnum`.
These operations have different semantics than `minumumf` and `maximumf`
ops.
They follow the eponymous LLVM intrinsics semantics, which differs
in the handling positive and negative zeros and NaNs.
This patch addresses the 1.3 task from the RFC.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions