diff options
author | Valentin Clement <clementval@gmail.com> | 2023-01-23 15:41:23 +0100 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2023-01-23 15:42:04 +0100 |
commit | 959caaaa7b2954ccc16f60b05d998e336bf36b38 (patch) | |
tree | e4db2320af06f4606ca75f958eb671aeced69f2f /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 602e1cbc0f753ec92089e3530eb29ebfd5215f6e (diff) | |
download | llvm-959caaaa7b2954ccc16f60b05d998e336bf36b38.zip llvm-959caaaa7b2954ccc16f60b05d998e336bf36b38.tar.gz llvm-959caaaa7b2954ccc16f60b05d998e336bf36b38.tar.bz2 |
[flang] Add conditional rebox when passing fir.box to optional fir.class
When a `!fir.box<>` is passed as an actual argument to an optional
`!fir.class<>` dummy it needs a `fir.rebox` in order to propagate
the dynamic type information.
The `fir.rebox` needs to happen only on present argument.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D142340
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions