Max Kazantsev
aa485384d7
[LICM] Do not hoist widenable conditions
...
Despite the fact that it is legal, it is not profitable. It may prevent
Loop Guard Widening to happen. Because of bug described at
https://github.com/llvm/llvm-project/issues/60234 , now the guard widening is
only possible when condtion we want to add is available at the point of the
widenable_condition() of dominating guard. It means that, if all such calls are
hoisted out of loop, and the loop conditions depend on loop-variants, we cannot
widen. Hoisting is otherwise not helpful, because it does not introduce any
optimization opportunities.
Differential Revision: https://reviews.llvm.org/D146274
Reviewed By: apilipenko
2023-03-20 12:02:22 +07:00
..
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-10-07 14:54:34 -07:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2023-01-31 11:48:35 +01:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2023-03-17 17:17:13 +01:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2023-01-23 12:11:33 +01:00
2022-10-05 16:47:53 +02:00
2022-12-07 20:53:15 +03:00
2022-10-05 16:47:53 +02:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-08 02:38:45 +03:00
2023-03-20 12:02:22 +07:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-20 10:02:46 +01:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-20 18:36:42 +03:00
2022-12-07 20:53:15 +03:00
2022-10-05 16:47:53 +02:00
2022-10-05 16:47:53 +02:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2023-02-26 12:41:41 -05:00
2022-12-20 10:02:46 +01:00
2023-01-31 11:48:35 +01:00
2022-10-05 16:47:53 +02:00
2022-06-28 00:08:37 -04:00
2022-03-06 11:16:22 +00:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2023-03-13 14:34:43 +07:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-10-07 14:54:34 -07:00
2022-10-05 16:47:53 +02:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-10-05 16:47:53 +02:00
2022-10-05 16:47:53 +02:00
2022-12-07 20:53:15 +03:00
2022-10-05 16:47:53 +02:00
2022-12-07 20:53:15 +03:00
2022-12-07 09:51:35 +01:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-10-05 16:47:53 +02:00
2022-10-05 16:47:53 +02:00
2023-03-16 16:58:43 +01:00
2022-12-07 20:53:15 +03:00
2022-12-20 10:02:46 +01:00
2022-10-05 16:47:53 +02:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-10-05 16:47:53 +02:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-12-08 02:38:45 +03:00
2022-12-07 20:53:15 +03:00
2022-10-05 16:47:53 +02:00
2022-12-07 20:53:15 +03:00
2022-12-20 18:36:42 +03:00
2022-12-07 20:53:15 +03:00
2022-10-05 16:47:53 +02:00
2022-12-07 20:53:15 +03:00
2022-12-07 20:53:15 +03:00
2022-10-05 16:47:53 +02:00
2022-12-01 21:17:18 +03:00