Erik Eckstein
aa4e77a46c
SILCombine: don't sink forwarding instructions with address operands
...
We don't do memory lifetime analysis for this peephole optimization.
Therefore we can't risk sinking instructions with address operands out of the addressed memory's lifetime.
For example:
```
%3 = mark_dependence %2 on %1 : $*T // must not be moved after the destroy_addr
destroy_addr %1
```
Fixes a verifier crash
rdar://166240751
2025-12-12 16:11:13 +01:00
..
2025-12-11 15:55:11 -08:00
2025-12-11 14:47:36 -08:00
2025-11-19 13:38:40 -08:00
2025-12-09 22:48:12 -05:00
2025-12-05 09:53:46 -05:00
2025-11-25 12:00:59 -05:00
2025-12-02 12:12:50 -08:00
2025-12-04 19:23:52 -08:00
2025-12-10 11:26:29 -08:00
2025-12-09 13:35:30 -08:00
2025-12-11 18:45:06 -08:00
2025-12-02 13:23:36 -05:00
2025-12-11 22:29:42 -08:00
2025-11-22 17:21:28 -05:00
2025-12-04 15:39:39 +00:00
2025-12-08 23:22:35 +00:00
2025-11-26 16:23:47 +01:00
2025-12-06 04:05:44 -06:00
2025-12-05 08:51:42 +00:00
2025-12-11 07:16:26 -08:00
2025-12-10 06:53:01 -05:00
2025-12-11 14:47:36 -08:00
2025-12-05 22:03:37 -08:00
2025-12-08 12:21:29 +00:00
2025-11-30 17:17:36 +00:00
2025-11-18 00:01:16 -08:00
2025-12-11 15:55:11 -08:00
2025-12-08 08:15:10 -05:00
2025-12-11 09:52:51 -08:00
2025-12-05 12:51:29 -08:00
2025-11-16 18:29:37 +00:00
2025-12-09 14:59:41 -08:00
2025-11-21 21:46:19 -05:00
2025-12-09 22:48:12 -05:00
2025-12-11 14:47:36 -08:00
2025-12-08 23:22:35 +00:00
2025-12-09 12:16:18 -08:00
2025-12-11 22:29:42 -08:00
2025-12-03 15:53:55 +01:00
2025-12-04 21:12:32 +01:00
2025-12-11 14:47:36 -08:00
2025-12-12 16:11:13 +01:00
2025-12-10 17:41:00 +00:00
2025-12-11 15:55:11 -08:00
2025-11-17 13:07:36 +00:00
2025-12-06 04:05:44 -06:00
2025-12-08 09:50:50 -08:00
2025-11-21 08:47:55 -08:00
2025-12-08 12:21:29 +00:00
2025-11-17 09:35:28 -08:00
2025-12-01 09:41:27 -08:00
2025-12-04 15:11:07 +00:00