diff options
author | Jean Perier <jperier@nvidia.com> | 2022-03-25 09:02:48 +0100 |
---|---|---|
committer | Jean Perier <jperier@nvidia.com> | 2022-03-25 09:02:57 +0100 |
commit | d3bc3a0400414a5c71cc029fa42272d647e3b81b (patch) | |
tree | 550367480fe201ad3292112130603e8b38e17126 /clang/lib/Lex/ModuleMap.cpp | |
parent | 7f1adbaba99512d5fbf45ec54585b41218535836 (diff) | |
download | llvm-d3bc3a0400414a5c71cc029fa42272d647e3b81b.zip llvm-d3bc3a0400414a5c71cc029fa42272d647e3b81b.tar.gz llvm-d3bc3a0400414a5c71cc029fa42272d647e3b81b.tar.bz2 |
[flang][codegen] ensure descriptor lower bounds are LBOUND compliant
Follow-up of https://reviews.llvm.org/D121488 to ensure all descriptors
created inline complies with LBOUND requirement that the lower bound is
`1` when the related dimension extent is zero.
Both fir.xrebox and fir.xembox codegen is updated to enforce this
constraint.
Also upstream the "normalized lower bound" attribute that was added in fir-dev
since embox codegen was upstreamed, it is conflicting with this patch
otherwise.
Differential Revision: https://reviews.llvm.org/D122419
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions