diff options
author | Peter Klausler <pklausler@nvidia.com> | 2025-02-27 14:32:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-27 14:32:12 -0800 |
commit | e843d514b12fd07e8bf49898cf66716e4b2833ce (patch) | |
tree | 8463ea3c6a8f94221a949ce42c34146b4c5c0444 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 523537f0c90b192b0f81d14e454fb8b889b07ce8 (diff) | |
download | llvm-e843d514b12fd07e8bf49898cf66716e4b2833ce.zip llvm-e843d514b12fd07e8bf49898cf66716e4b2833ce.tar.gz llvm-e843d514b12fd07e8bf49898cf66716e4b2833ce.tar.bz2 |
[flang] Refine handling of SELECT TYPE associations in analyses (#128935)
A few bits of semantic checking need a variant of the
ResolveAssociations utility function that stops when hitting a construct
entity for a type or class guard. This is necessary for cases like the
bug below where the analysis is concerned with the type of the name in
context, rather than its shape or storage or whatever. So add a flag to
ResolveAssociations and GetAssociationRoot to make this happen, and use
it at the appropriate call sites.
Fixes https://github.com/llvm/llvm-project/issues/128608.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions