Nikita Popov
50ac6afd84
[InstCombine] Fix worklist management in return combine
...
There are two related bugs here: First, we don't add the operand
we're replacing to the worklist, which means it may not get DCEd
(see test change). Second, usually this would just get picked up
in the next iteration, but we also do not report the instruction
as changed. This means that we do not get that extra instcombine
iteration, and more importantly, may break the pass pipeline, as
the function is not marked as changed.
Differential Revision: https://reviews.llvm.org/D72864
2020-01-17 17:59:23 +01:00
..
2019-12-24 15:57:33 -08:00
2019-12-24 16:27:51 -08:00
2019-10-11 05:30:18 +00:00
2019-08-23 02:17:04 +00:00
2019-12-14 00:29:38 -06:00
2019-12-11 19:44:47 +05:30
2020-01-15 16:34:23 +09:00
2019-11-21 13:53:10 -08:00
2020-01-15 17:52:25 -08:00
2019-12-24 15:57:33 -08:00
2019-12-24 16:27:51 -08:00
2019-10-13 17:34:08 +00:00
2020-01-05 18:26:30 -05:00
2019-11-07 16:18:03 +03:00
2019-12-16 11:41:21 +01:00
2020-01-06 10:50:26 +00:00
2020-01-16 10:35:46 +00:00
2019-09-29 15:25:24 +00:00
2019-12-18 16:26:42 +00:00
2019-08-16 23:30:16 +00:00
2019-10-30 09:12:57 +02:00
2019-09-19 16:31:17 +00:00
2019-12-02 15:36:29 +00:00
2020-01-15 17:52:25 -08:00
2020-01-15 17:52:25 -08:00
2019-10-17 09:58:57 +00:00
2020-01-04 16:42:38 +03:00
2019-11-21 10:46:16 -08:00
2020-01-16 23:53:46 +03:00
2019-12-24 16:27:51 -08:00
2019-11-05 09:06:22 +00:00
2020-01-15 15:38:36 -08:00
2020-01-10 09:35:00 +00:00
2019-09-05 02:20:39 +00:00
2019-12-02 15:36:29 +00:00
2019-12-24 15:57:33 -08:00
2020-01-17 17:59:23 +01:00
2019-09-05 17:00:32 +00:00
2020-01-14 08:41:06 -05:00
2019-12-08 10:37:29 +00:00
2019-10-17 09:58:57 +00:00
2019-12-24 15:57:33 -08:00
2020-01-07 20:58:04 -05:00
2020-01-16 12:33:37 -08:00
2019-12-06 13:21:49 +07:00
2019-12-24 15:57:33 -08:00
2019-08-02 04:03:37 +00:00
2019-12-17 22:10:23 +00:00
2019-11-02 12:48:03 +03:00
2019-08-21 17:00:57 +00:00
2019-12-04 17:46:01 +00:00
2020-01-17 15:40:02 +03:00
2019-12-24 15:57:33 -08:00
2020-01-11 11:03:29 +01:00
2020-01-11 11:02:24 +01:00
2019-12-24 16:27:51 -08:00
2020-01-16 10:33:38 -08:00
2020-01-16 09:00:56 -08:00
2020-01-16 15:08:26 +00:00
2019-10-14 16:15:14 +00:00
2019-09-11 16:19:50 +00:00
2020-01-09 10:52:52 +00:00
2019-10-03 23:42:44 +00:00
2019-11-26 20:28:52 -08:00
2020-01-14 20:55:41 +01:00
2019-12-24 16:27:51 -08:00
2019-12-24 16:27:51 -08:00
2020-01-16 10:35:46 +00:00
2020-01-13 14:38:58 -08:00
2019-12-13 14:30:21 +00:00
2019-11-11 08:30:06 -08:00
2020-01-15 11:14:13 -05:00
2019-12-24 16:27:51 -08:00
2020-01-15 18:36:06 -08:00
2019-08-07 23:16:29 +00:00
2019-12-24 16:27:51 -08:00
2020-01-06 10:50:26 +00:00
2019-12-04 11:32:09 +00:00
2019-12-24 16:27:51 -08:00
2020-01-06 10:50:26 +00:00
2019-08-14 16:44:07 +00:00
2020-01-06 11:05:15 +03:00
2019-12-24 16:27:51 -08:00
2020-01-16 14:29:38 -05:00
2019-08-09 22:31:59 +00:00
2019-12-22 11:27:11 -08:00
2019-12-24 16:27:51 -08:00
2019-08-03 14:28:34 +00:00