aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorpeter klausler <pklausler@nvidia.com>2020-10-30 12:57:28 -0700
committerpeter klausler <pklausler@nvidia.com>2020-11-02 11:00:17 -0800
commite8f96899e17b11292940d8826338e2e0a64a22b9 (patch)
tree77d2d3be4417fb433cf87d05364476ab0499890a /clang/lib/Serialization/ModuleManager.cpp
parent9081e7594df2356f72c038423a0f8130f140b255 (diff)
downloadllvm-e8f96899e17b11292940d8826338e2e0a64a22b9.zip
llvm-e8f96899e17b11292940d8826338e2e0a64a22b9.tar.gz
llvm-e8f96899e17b11292940d8826338e2e0a64a22b9.tar.bz2
[flang] Allow array constructor implied DO loop indices as constant expressions
When the bounds of an implied DO loop in an array constructor are constant, the index variable of that loop is considered a constant expression and can be used as such in the items in the value list of the implied DO loop. Since the KIND type parameter values of items in the value list can depend on the various values taken by such an index, it is not possible to represent those values with a single typed expression. So implement such loops by taking multiple passes over the parse tree of the implied DO loop instead. Differential revision: https://reviews.llvm.org/D90494
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions