diff options
author | Jean Perier <jperier@nvidia.com> | 2021-11-17 18:18:05 +0100 |
---|---|---|
committer | Jean Perier <jperier@nvidia.com> | 2021-11-17 18:18:58 +0100 |
commit | 394d6fcf3eb98f99045df506e587ac7cbf15e7a4 (patch) | |
tree | 2b3a835d14ee5c7a32704a502032e4f29a6bf654 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e1ef14069efb6e28bc575cf7ddb2e328f57e9194 (diff) | |
download | llvm-394d6fcf3eb98f99045df506e587ac7cbf15e7a4.zip llvm-394d6fcf3eb98f99045df506e587ac7cbf15e7a4.tar.gz llvm-394d6fcf3eb98f99045df506e587ac7cbf15e7a4.tar.bz2 |
[flang] Check ArrayRef base for contiguity in IsSimplyContiguousHelper
Previous code was returning true for `x(:)` where x is a pointer without
the contiguous attribute.
In case the array ref is a whole array section, check the base for contiguity
to solve the issue.
Differential Revision: https://reviews.llvm.org/D114084
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions