summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorValentin Clement <clementval@gmail.com>2023-01-12 17:59:18 +0100
committerValentin Clement <clementval@gmail.com>2023-01-12 18:00:16 +0100
commit9f1bb307da6fec6fc8123bdec79ecec28fced874 (patch)
tree49557fc7c99f5e16a57a3f8181c3575dd49001c7 /cmake
parent77c5eac2aa9b9b1a12850295abf84d51f87745de (diff)
downloadllvm-9f1bb307da6fec6fc8123bdec79ecec28fced874.tar.gz
[flang] Carry the whole polymorphic box in PolymorphicValue
Until now, only the address of the type descriptor was hold in a PolymorphicValue. In some cases, the element size and the type code are also needed when creating new polymorphic descriptors from an element of a polymorphic entity. This patch updates PolymorphicValue to carry the source descriptor from which the element is extracted. The source descriptor is then used when emboxing the element to a new polymorphic descriptor. This simplify the code done in D141274 and will be used when creating polymorphic temporary as well. Reviewed By: jeanPerier, PeteSteinfeld Differential Revision: https://reviews.llvm.org/D141609
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions