diff options
author | Jean Perier <jperier@nvidia.com> | 2022-12-16 09:20:47 +0100 |
---|---|---|
committer | Jean Perier <jperier@nvidia.com> | 2022-12-16 09:22:24 +0100 |
commit | af2e5975222c4df3567d7cafcd5e1bd8fe7b86bd (patch) | |
tree | 4144dcf15e6a3091ab85003043ed51d5e8d3f8bf /llvm/unittests/Support/ProgramTest.cpp | |
parent | c2e3cb3e437b26d73f3392d34541a4c685ea9498 (diff) | |
download | llvm-af2e5975222c4df3567d7cafcd5e1bd8fe7b86bd.zip llvm-af2e5975222c4df3567d7cafcd5e1bd8fe7b86bd.tar.gz llvm-af2e5975222c4df3567d7cafcd5e1bd8fe7b86bd.tar.bz2 |
[flang] enable as_expr codegen from array without FortranVariabeInterface
The defining op of HLFIR variables is expected to be visible
in most cases, but HLFIR codegen won't rely on it from a correctness
point of view.
This patch allows building a fir.shape from an hlfir::Entity does not
have a visible FortranVariabeInterface defining op.
Differential Revision: https://reviews.llvm.org/D140099
Diffstat (limited to 'llvm/unittests/Support/ProgramTest.cpp')
0 files changed, 0 insertions, 0 deletions