[all-commits] [llvm/llvm-project] d0f44e: [flang] Don't create impossible conversions in int...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Jan 25 16:18:31 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d0f44ed062d911953de157ee4d7db91003b9bd52
https://github.com/llvm/llvm-project/commit/d0f44ed062d911953de157ee4d7db91003b9bd52
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M flang/lib/Evaluate/fold-implementation.h
M flang/lib/Evaluate/intrinsics.cpp
A flang/test/Evaluate/bug78932.f90
Log Message:
-----------
[flang] Don't create impossible conversions in intrinsic extension (#79042)
We support specific intrinsic calls like `AMAX0(1.0,2)` that have
heterogeneous argument types as an optional extension in cases where the
specific intrinsic has a related generic intrinsic function capable of
handling the argument types. This feature can't be allowed to apply to
calls where the result of the related generic intrinsic function is not
convertible to the type of the specific intrinsic, as in `AMAX0('a',
'b')`.
Fixes https://github.com/llvm/llvm-project/issues/78932.
More information about the All-commits
mailing list