diff options
| author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2023-09-18 09:20:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-18 09:20:50 -0700 |
| commit | 9bbec0ad42a8e8c8f564a36adb1e819a0921a7f9 (patch) | |
| tree | db0b88d84d0d4b7d464ed98624f248dcb57911d8 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
| parent | bb7b8726a4e09a7f1cf1b862ffd3faa80883501d (diff) | |
| download | llvm-9bbec0ad42a8e8c8f564a36adb1e819a0921a7f9.zip llvm-9bbec0ad42a8e8c8f564a36adb1e819a0921a7f9.tar.gz llvm-9bbec0ad42a8e8c8f564a36adb1e819a0921a7f9.tar.bz2 | |
[flang] Fix SIZEOF() expression rewriting (#66241)
The rewriting of the extension intrinsic function SIZEOF was producing
results that would reference symbols that were not available in the
current scope, leading to crashes in lowering. The symbols could be
function result variables, for SIZEOF(func()), or bare derived type
component names, for SIZEOF(array(n)%component). Fixing this without
regressing on a current test case involved careful threading of some
state through the TypeAndShape characterization code and the
shape/bounds analyzer, and some clean-up was done along the way.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions
