Valentin Clement
6c3c81b983
[flang] Lower and code gen for allocate on polymorphic entities
...
When allocating a polymorphic entity, its type descriptor can come
from the declared type or can be provided in the allocate statement.
This patch adds lowering for allocate on polymorphic by calling
the `AllocatableInitDerived` runtime function with the correct
type descriptor. Some adaptation are made in the code generation
to accept fir.class where it is appropriate.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D136426
2022-10-21 14:34:03 +02:00
..
2022-07-11 18:46:52 +00:00
2022-07-13 15:29:14 +00:00
2022-10-06 13:11:40 -07:00
2022-10-17 11:45:31 -07:00
2020-09-11 14:19:51 +01:00
2020-09-11 14:19:51 +01:00
2020-09-11 14:19:51 +01:00
2021-11-25 15:11:10 -06:00
2020-09-21 11:05:58 +05:30
2020-09-11 14:19:51 +01:00
2022-08-29 11:09:25 +02:00
2021-11-08 17:54:46 +00:00
2020-11-10 22:24:49 +05:30
2020-09-11 14:19:51 +01:00
2022-08-26 16:18:16 +02:00
2020-09-11 14:19:51 +01:00
2020-11-12 15:30:43 -08:00
2021-11-08 08:23:04 -06:00
2022-10-06 11:30:19 -07:00
2020-11-18 13:57:25 -08:00
2022-10-11 09:51:36 +08:00
2021-02-01 16:43:21 +05:30
2022-10-05 19:43:02 +01:00
2022-08-02 10:04:17 +00:00
2021-04-22 11:24:22 -07:00
2020-09-11 14:19:51 +01:00
2021-11-25 15:11:10 -06:00
2022-06-03 08:19:10 +00:00
2021-11-08 17:54:46 +00:00
2022-04-29 12:35:01 -06:00
2022-10-13 14:25:51 +02:00
2021-08-05 12:57:15 +00:00
2022-07-22 17:05:04 +00:00
2022-09-28 09:29:11 -07:00
2022-07-13 11:21:01 -07:00
2020-09-11 14:19:51 +01:00
2020-09-11 14:19:51 +01:00
2020-09-11 14:19:51 +01:00
2020-09-11 14:19:51 +01:00
2020-09-11 14:19:51 +01:00
2020-11-20 10:33:21 -08:00
2021-08-05 12:57:15 +00:00
2022-09-02 20:45:57 +02:00
2022-07-06 18:54:11 -07:00
2022-03-08 11:40:45 -08:00
2022-10-21 14:34:03 +02:00
2020-09-11 14:19:51 +01:00
2020-09-11 14:19:51 +01:00
2022-10-05 19:43:02 +01:00
2020-09-11 14:19:51 +01:00
2020-12-08 10:26:58 -08:00
2020-12-07 14:40:41 -08:00