diff options
author | Rajan Walia <walrajan@gmail.com> | 2021-10-08 14:02:02 +0200 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2021-10-08 14:03:27 +0200 |
commit | 80c27abb2f74aa439ba381148186407ebae1793e (patch) | |
tree | 29ae48cef4f0de45190b3f330f89be1a0ad0c4be /lldb/unittests/ScriptInterpreter/Python | |
parent | b6426d52111cafdbd9114ead3855b861de0173d6 (diff) | |
download | llvm-80c27abb2f74aa439ba381148186407ebae1793e.zip llvm-80c27abb2f74aa439ba381148186407ebae1793e.tar.gz llvm-80c27abb2f74aa439ba381148186407ebae1793e.tar.bz2 |
[fir] Add affine demotion pass
Add affine demotion pass.
Affine dialect's default lowering for loads and stores is different from
fir as it uses the `memref` type. The `memref` type is not compatible with
the Fortran runtime. Therefore, conversion of memory operations back to
`fir.load` and `fir.store` with `!fir.ref<?>` types is required.
This patch is part of the upstreaming effort from fir-dev branch.
Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: V Donaldson <vdonaldson@nvidia.com>
Co-authored-by: Rajan Walia <walrajan@gmail.com>
Co-authored-by: Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
Co-authored-by: Valentin Clement <clementval@gmail.com>
Reviewed By: schweitz
Differential Revision: https://reviews.llvm.org/D111257
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions