diff options
author | Valentin Clement <clementval@gmail.com> | 2023-03-14 21:44:41 +0100 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2023-03-14 21:45:20 +0100 |
commit | fbca61c46612a6377b7d7cf5b56573df3c6759e2 (patch) | |
tree | cd3319d5f145dc6103248411b1889614752cd6d6 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 1a90faacf1502fb967900ab44b62e8509a369013 (diff) | |
download | llvm-fbca61c46612a6377b7d7cf5b56573df3c6759e2.zip llvm-fbca61c46612a6377b7d7cf5b56573df3c6759e2.tar.gz llvm-fbca61c46612a6377b7d7cf5b56573df3c6759e2.tar.bz2 |
[flang] Load fir.ref<fir.class<T>> instead of creating a wrong box
When a subroutine has an entry statement, the non-used argument
will be a fir.alloca and result in a fir.ref<fir.class<T>> for
polymorphic entities. In createBox, just load the box instead of
creating a wrong box.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D146079
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions