Erik Eckstein
b80a08ee6c
CodeMotion: check the ownership of arguments when sinking arguments
...
So far we only checked the ownership of incoming values.
But even if the incoming instruction has no ownership, the argument may have.
This can happen with enums which are constructed with a non-payload case:
%1 = enum $Optional<C>, #Optional.none!enumelt
br bb3(%1)
bb1(%3 : @owned $Optional<C>):
Fixes an ownership verification error:
rdar://142506300
2025-01-09 19:56:25 +01:00
..
2024-06-05 19:37:30 -07:00
2024-12-20 15:51:37 +01:00
2024-07-23 17:00:10 -07:00
2024-06-05 19:37:30 -07:00
2024-12-02 15:01:04 -08:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2023-12-18 09:35:57 -08:00
2024-11-28 10:35:40 +01:00
2024-12-05 13:02:50 -08:00
2024-06-05 19:37:30 -07:00
2024-11-12 09:26:59 +01:00
2023-12-05 12:49:36 -08:00
2024-08-22 17:17:53 -04:00
2024-12-19 15:16:32 -08:00
2024-12-24 12:00:22 +01:00
2024-08-27 16:18:39 -07:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-06-18 17:52:00 -07:00
2025-01-03 18:36:04 -08:00
2024-12-02 15:01:04 -08:00
2024-06-27 09:44:04 -07:00
2024-12-10 17:01:11 -08:00
2024-06-05 19:37:30 -07:00
2023-12-01 19:20:18 +01:00
2024-06-05 19:37:30 -07:00
2025-01-09 19:56:25 +01:00
2024-06-05 19:37:30 -07:00
2024-11-12 09:26:59 +01:00
2024-06-05 19:37:30 -07:00
2025-01-09 19:56:25 +01:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-12-13 13:16:22 -08:00
2024-06-05 19:37:30 -07:00
2024-11-18 01:37:00 -08:00