diff options
author | Slava Zakharin <szakharin@nvidia.com> | 2024-04-03 10:19:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 10:19:06 -0700 |
commit | 315c88c5fbdb2b27cebf23c87fb502f7a567d84b (patch) | |
tree | 5bb30ba9acf70483f4a805658d1323736eff8566 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 07a566793b2f94d0de6b95b7e6d1146b0d7ffe49 (diff) | |
download | llvm-315c88c5fbdb2b27cebf23c87fb502f7a567d84b.zip llvm-315c88c5fbdb2b27cebf23c87fb502f7a567d84b.tar.gz llvm-315c88c5fbdb2b27cebf23c87fb502f7a567d84b.tar.bz2 |
[flang] Fixed MODULO(x, inf) to produce NaN. (#86145)
Straightforward computation of `A − FLOOR (A / P) * P` should
produce NaN, when P is infinity. The -menable-no-infs lowering
can still use the relaxed operations sequence.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions