[all-commits] [llvm/llvm-project] 535468: [flang] Better folding warning due to hidden conve...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Oct 31 10:27:11 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5354681c6d294333d8c083541d6d94601d35fb6e
https://github.com/llvm/llvm-project/commit/5354681c6d294333d8c083541d6d94601d35fb6e
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2025-10-31 (Fri, 31 Oct 2025)
Changed paths:
M flang/include/flang/Evaluate/common.h
M flang/lib/Evaluate/common.cpp
M flang/lib/Evaluate/fold-implementation.h
M flang/lib/Evaluate/host.cpp
M flang/lib/Evaluate/intrinsics-library.cpp
M flang/lib/Semantics/expression.cpp
A flang/test/Evaluate/folding33.f90
Log Message:
-----------
[flang] Better folding warning due to hidden conversion (#165430)
When folding intrinsic function calls for types like REAL(2) that don't
have host math library support, we convert them to a type that has
greater range and precision, call a host math library routine that does
exist, and convert the result back to the original result type. The
folding of this second conversion can elicit floating-point warnings
(usually overflow) that are somewhat unclear to the user. Add support
for adding contextual information to these warnings.
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