Roman Lebedev
95848ea101
[Value][InstCombine] Fix one-use checks in PHI-of-op -> Op-of-PHI[s] transforms to be one-user checks
...
As FIXME said, they really should be checking for a single user,
not use, so let's do that. It is not *that* unusual to have
the same value as incoming value in a PHI node, not unlike
how a PHI may have the same incoming basic block more than once.
There isn't a nice way to do that, Value::users() isn't uniqified,
and Value only tracks it's uses, not Users, so the check is
potentially costly since it does indeed potentially involes
traversing the entire use list of a value.
2020-08-26 20:20:41 +03:00
..
2019-09-17 09:02:48 +00:00
2020-08-20 10:41:47 +03:00
2020-08-12 12:56:09 +01:00
2019-06-17 09:51:07 +00:00
2020-03-18 16:21:37 +00:00
2020-07-03 07:53:45 +01:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-06-26 09:28:32 -07:00
2019-07-15 21:16:29 +00:00
2020-05-15 12:26:58 -07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-06-26 09:28:32 -07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2020-08-14 16:05:04 -07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-06-26 09:28:32 -07:00
2019-04-17 04:52:47 +00:00
2020-01-16 09:00:56 -08:00
2019-09-17 09:02:48 +00:00
2020-06-26 09:28:32 -07:00
2020-01-23 10:36:39 -08:00
2019-06-26 09:16:57 +00:00
2019-04-17 04:52:47 +00:00
2020-01-20 16:58:07 +07:00
2019-08-02 04:29:23 +00:00
2020-03-02 08:37:11 -08:00
2020-06-26 09:28:32 -07:00
2019-04-17 04:52:47 +00:00
2020-04-06 09:59:08 -06:00
2020-03-02 08:37:11 -08:00
2019-04-17 04:52:47 +00:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2019-04-17 04:52:47 +00:00
2020-06-26 09:28:32 -07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-07-28 14:00:11 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-05-17 13:55:11 +01:00
2020-05-17 13:29:36 +01:00
2019-04-17 04:52:47 +00:00
2020-07-30 10:07:57 -07:00
2019-12-24 15:57:33 -08:00
2019-06-26 09:16:57 +00:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00
2019-04-17 04:52:47 +00:00
2020-06-26 09:28:32 -07:00
2020-07-15 12:33:29 -07:00
2019-04-17 04:52:47 +00:00
2020-08-26 20:20:41 +03:00
2019-04-17 04:52:47 +00:00
2020-06-26 09:28:32 -07:00
2019-04-17 04:52:47 +00:00
2020-08-17 13:54:28 +01:00
2020-03-06 21:39:07 +03:00
2019-11-06 15:41:57 -08:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-06-26 09:28:32 -07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2020-05-14 13:03:50 -07:00
2019-04-17 04:52:47 +00:00
2020-07-30 19:40:29 -07:00
2019-04-17 04:52:47 +00:00
2020-06-26 09:28:32 -07:00
2019-04-17 04:52:47 +00:00
2019-04-17 04:52:47 +00:00
2019-10-29 12:05:09 +00:00
2019-06-26 09:16:57 +00:00
2020-06-26 09:28:32 -07:00
2020-06-26 09:28:32 -07:00