diff options
| author | Pete Steinfeld <psteinfeld@nvidia.com> | 2020-07-07 12:15:39 -0700 |
|---|---|---|
| committer | Pete Steinfeld <psteinfeld@nvidia.com> | 2020-07-08 07:31:54 -0700 |
| commit | 15fa287b64d0ef845201339994cdf6eb3e4d51e1 (patch) | |
| tree | a0277699119da7da7163d9bd3209feca6f742587 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 26a22478cdfe6fe4d169320910c38958d5dafc38 (diff) | |
[flang] Support for image selectors
Summary:
This change implements support for image selectors and image selector
specifications as described in section 9.6.
In check-coarray[.h,cpp] I changed the `Leave()` function for
`parser::ImageSelectorSpec` to take a `parser::ImageSelector`, which
contains a list of image selector specifications. This allows us to
detect when the same specification is used more than once. I also added
code to analyze the expressions for the image selector specifications to
expression.cpp and a test for all of the conditions to check at
compile-time.
Note that we do not check at compile-time to see if the value of the
cosubscripts are within the specified cobounds. We also do not check anything
related to selecting a valid team. We also do not check that the denotation of
the `stat-variable` is not dependent on the evaluation of an entity in the
same statement.
Reviewers: klausler, tskeith, DavidTruby
Subscribers: llvm-commits
Tags: #llvm, #flang
Differential Revision: https://reviews.llvm.org/D83336
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
