[all-commits] [llvm/llvm-project] 4350d1: [flang-rt] Consider NaN and the signedness of zero...
Yusuke MINATO via All-commits
all-commits at lists.llvm.org
Wed Sep 30 19:00:26 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4350d12c88cd947c3fb2b5e0bd4b22804e98a586
https://github.com/llvm/llvm-project/commit/4350d12c88cd947c3fb2b5e0bd4b22804e98a586
Author: Yusuke MINATO <minato.yusuke at fujitsu.com>
Date: 2026-10-01 (Thu, 01 Oct 2026)
Changed paths:
M flang-rt/lib/runtime/product.cpp
M flang-rt/unittests/Runtime/Reduction.cpp
Log Message:
-----------
[flang-rt] Consider NaN and the signedness of zero for PRODUCT (#226918)
Currently, the result of PRODUCT can be calculated in three places:
1. Constant folding in Semantics
2. The runtime library
3. Inlined code
However, only the runtime ignores NaN and the signedness of zero. This patch
fixes this discrepancy.
Fixes #211437
---------
Co-authored-by: Eugene Epshteyn <eepshteyn at nvidia.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list