diff options
author | Valentin Clement <clementval@gmail.com> | 2022-10-13 10:39:29 +0200 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2022-10-13 10:39:59 +0200 |
commit | 89c923655aad6de837e386aa6e1dfa72c16e2697 (patch) | |
tree | 9d6b5e104feda444aa6c0c3b2325832d2ab66880 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | e74390cc9616417c3741af75f8eb19fdc5cd589f (diff) | |
download | llvm-89c923655aad6de837e386aa6e1dfa72c16e2697.zip llvm-89c923655aad6de837e386aa6e1dfa72c16e2697.tar.gz llvm-89c923655aad6de837e386aa6e1dfa72c16e2697.tar.bz2 |
[flang] Embox derived-type directly to fir.class without fir.convert
non-polymorphic derived-type can call type-bound procedure with passed-object.
In that case, the derived-type is emboxed in order to be passed to the call.
Until now the emboxing was done to a fir.box followed by a fir.convert.
This patch update the createBox function so that we can directly embox to
a fir.class and avoid the extra fir.convert.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D135790
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions