diff options
author | Peixin-Qiao <qiaopeixin@huawei.com> | 2022-06-07 14:55:31 +0800 |
---|---|---|
committer | Peixin-Qiao <qiaopeixin@huawei.com> | 2022-06-07 14:55:31 +0800 |
commit | 48a70ea177ad912b870cc75cd73d8459c03e8579 (patch) | |
tree | f2968716d883661fed7c02366bcfc9a1746f122b /llvm/lib/CodeGen/StackMaps.cpp | |
parent | ef3db4fcab4a32cd8efff86b417b459d4d4fc1d5 (diff) | |
download | llvm-48a70ea177ad912b870cc75cd73d8459c03e8579.zip llvm-48a70ea177ad912b870cc75cd73d8459c03e8579.tar.gz llvm-48a70ea177ad912b870cc75cd73d8459c03e8579.tar.bz2 |
[flang] Fix semantic checks for C919
The previous semantic analysis does not consider when the last part-ref
is scalar or complex part. Refactor the previous code and bring all the
checks into one place. The check starts from the designator by
extracting the dataref wrapped including the substring and complex part
and recursively check the base objects.
Co-authored-by: Peter Klausler <pklausler@nvidia.com>
Reviewed By: klausler
Differential Revision: https://reviews.llvm.org/D126595
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions