Nikita Popov
243e62b9d8
[Coroutines] Directly remove unnecessary lifetime intrinsics
...
The insertSpills() code will currently skip lifetime intrinsic users
when replacing the alloca with a frame reference. Rather than
leaving behind the dead lifetime intrinsics working on the old
alloca, directly remove them. This makes sure the alloca can be
dropped as well.
I noticed this as a regression when converting tests to opaque
pointers. Without opaque pointers, this code didn't really do
anything, because there would usually be a bitcast in between.
The lifetimes would get rewritten to the frame pointer. With
opaque pointers, this code now triggers and leaves behind users
of the old allocas.
Differential Revision: https://reviews.llvm.org/D148240
2023-04-14 10:22:30 +02:00
..
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-04-14 10:22:30 +02:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-04-05 16:59:40 +02:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-03-30 10:12:23 -07:00
2023-02-16 17:58:33 -08:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-04-05 15:55:06 +02:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-02-14 15:21:48 +08:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2022-08-12 13:05:08 +08:00
2022-11-04 10:21:38 +01:00
2022-10-17 10:22:43 +08:00
2023-01-18 09:58:32 +01:00
2023-01-06 12:14:45 +01:00
2023-04-05 15:55:06 +02:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-04-05 15:55:06 +02:00
2023-02-13 11:02:20 +00:00
2023-04-05 15:55:06 +02:00
2023-04-05 15:55:06 +02:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-04-05 15:55:06 +02:00
2023-04-05 15:55:06 +02:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2022-11-18 15:39:39 +08:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2022-08-26 14:05:46 +08:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-02-28 22:29:16 -05:00
2023-01-03 13:57:51 +01:00
2023-04-05 15:55:06 +02:00
2023-02-14 15:21:48 +08:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-18 09:58:32 +01:00
2023-04-05 15:55:06 +02:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2023-01-18 09:58:32 +01:00
2023-01-03 13:57:51 +01:00
2023-03-16 09:21:35 -07:00
2023-01-03 13:57:51 +01:00