diff options
author | Lewis Crawford <lcrawford@nvidia.com> | 2025-07-21 17:48:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-21 17:48:45 +0100 |
commit | 0823f4ff086e5352f7543b68ce6e7823498cf44b (patch) | |
tree | bda0df2595baca63fc73a9d8f7382be492812305 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | f85c1a5615c87f4598c6859578c0c30d4ea6a58c (diff) | |
download | llvm-0823f4ff086e5352f7543b68ce6e7823498cf44b.zip llvm-0823f4ff086e5352f7543b68ce6e7823498cf44b.tar.gz llvm-0823f4ff086e5352f7543b68ce6e7823498cf44b.tar.bz2 |
[ConstantFolding] Fix nvvm_round folding on PPC (#149837)
Fix a failing test for constant-folding the nvvm_round intrinsic. The
original implementation added in #141233 used a native libm call to the
"round" function, but on PPC this produces +0.0 if the input is -0.0,
which caused a test failure.
This patch updates it to use APFloat functions instead of native libm
calls to ensure cross-platform consistency.
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions