[all-commits] [llvm/llvm-project] 057b6f: [flang] Fix CONTIGUOUS attribute for construct ent...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Mar 2 14:06:52 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 057b6fb61f129e085e469d3675ead1c9b2f93e83
https://github.com/llvm/llvm-project/commit/057b6fb61f129e085e469d3675ead1c9b2f93e83
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-03-02 (Thu, 02 Mar 2023)
Changed paths:
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Evaluate/folding09.f90
M flang/test/Lower/HLFIR/associate-construct.f90
Log Message:
-----------
[flang] Fix CONTIGUOUS attribute for construct entities
Currently, the selector of a construct entity (e.g., ASSOCIATE(x=>a(1:20)))
is inheriting the CONTIGUOUS attribute from its associated variable
even if it has subscripts that make it noncontiguous (a(1:20:2)).
Add construct entities to the dynamic contiguity predicate instead.
Differential Revision: https://reviews.llvm.org/D145114
More information about the All-commits
mailing list