[all-commits] [llvm/llvm-project] 35159c: [flang] handle intrinsic interfaces in FunctionRef...
jeanPerier via All-commits
all-commits at lists.llvm.org
Tue Apr 23 00:20:24 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 35159c2e813ffc0f6cdf20c5c466b17b5a63e2e1
https://github.com/llvm/llvm-project/commit/35159c2e813ffc0f6cdf20c5c466b17b5a63e2e1
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-04-23 (Tue, 23 Apr 2024)
Changed paths:
M flang/include/flang/Evaluate/call.h
M flang/test/Lower/HLFIR/calls-f77.f90
Log Message:
-----------
[flang] handle intrinsic interfaces in FunctionRef::GetType (#89583)
User functions may be declared with an interface that is a specific
intrinsic. In such case, there is no result type available from the
procedure symbol (at least without using evaluate::Probe), and
FunctionRef::GetType() returned nullopt. This caused lowering to crash.
The result type of specific intrinsic procedures is always a lengthless
intrinsic type, so it is fully defined in the template argument of
FunctionRef. Use it.
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