aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Parallel.cpp
diff options
context:
space:
mode:
authorPete Steinfeld <psteinfeld@nvidia.com>2020-07-08 10:05:04 -0700
committerPete Steinfeld <psteinfeld@nvidia.com>2020-07-08 10:11:34 -0700
commit9520b6c8ab63061e1734deef8614eaa60f704dc9 (patch)
treedb644030deb8a27fbfb439731128bbd7fa08c43d /llvm/lib/Support/Parallel.cpp
parent1eaad01046c88be6bf65265a2bcc53db5a5b48d0 (diff)
downloadllvm-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