diff options
author | Pete Steinfeld <psteinfeld@nvidia.com> | 2020-07-08 10:05:04 -0700 |
---|---|---|
committer | Pete Steinfeld <psteinfeld@nvidia.com> | 2020-07-08 10:11:34 -0700 |
commit | 9520b6c8ab63061e1734deef8614eaa60f704dc9 (patch) | |
tree | db644030deb8a27fbfb439731128bbd7fa08c43d /llvm/lib/Support/Parallel.cpp | |
parent | 1eaad01046c88be6bf65265a2bcc53db5a5b48d0 (diff) | |
download | llvm-9520b6c8ab63061e1734deef8614eaa60f704dc9.zip llvm-9520b6c8ab63061e1734deef8614eaa60f704dc9.tar.gz llvm-9520b6c8ab63061e1734deef8614eaa60f704dc9.tar.bz2 |
[flang] Fix a crash when cosubscript list is empty
Summary:
When there are errors in the evaluation of every cosubscript expression in a
coindexed object, the compiler would crash. I fixed this by just checking to
see if there were errors in the evaluation of the cosubscripts before
constructing the `DataRef` for the coindexed object.
Reviewers: klausler, tskeith, DavidTruby
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D83410
Diffstat (limited to 'llvm/lib/Support/Parallel.cpp')
0 files changed, 0 insertions, 0 deletions