diff options
author | David Green <david.green@arm.com> | 2024-10-10 09:54:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-10 09:54:25 +0100 |
commit | 5184d763c70bf0c64b309262a40d9528a7dc4a2f (patch) | |
tree | 26e30d09482c406277a9a6d3d0ab1fe986a4e1b0 /lldb/packages/Python/lldbsuite/test | |
parent | 54d3cf14213f18e44ef9ed2ffe3b3131e472e2f5 (diff) | |
download | llvm-5184d763c70bf0c64b309262a40d9528a7dc4a2f.zip llvm-5184d763c70bf0c64b309262a40d9528a7dc4a2f.tar.gz llvm-5184d763c70bf0c64b309262a40d9528a7dc4a2f.tar.bz2 |
[InstCombine] Convert @log to @llvm.log if the input is known positive. (#111428)
Similar to 112aac4e8961b9626bb84f36deeaa5a674f03f5a, this converts log
libcalls to llvm.log.f64 intrinsics if we know they do not set errno, as
the input is not zero and not negative. As log will produce errno if the
input is 0 (returning -inf) or if the input is negative (returning nan),
we also perform the conversion when we have noinf and nonan.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions