diff options
author | Lewis Crawford <lcrawford@nvidia.com> | 2025-08-01 10:31:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-01 10:31:43 +0100 |
commit | 51469174074b478e7a5fe0f8c69452b1d6752e30 (patch) | |
tree | c961e114778049ff78821554e906eff8faf50b3e /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | 2b27377b0bf72e4524774dedf4b03521b07606d5 (diff) | |
download | llvm-51469174074b478e7a5fe0f8c69452b1d6752e30.zip llvm-51469174074b478e7a5fe0f8c69452b1d6752e30.tar.gz llvm-51469174074b478e7a5fe0f8c69452b1d6752e30.tar.bz2 |
[ConstantFolding] Fix incorrect nvvm_round folding (#151563)
The `nvvm_round` intrinsic should round to the nearest even number in
the case of ties. It lowers to PTX `cvt.rni`, which will "round to
nearest integer, choosing even integer if source is equidistant between
two integers", so it matches the semantics of `rint` (and not `round` as
the name suggests).
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions