Florian Hahn
d4ddf63fc4
[SCEV] Use loop guard info when computing the max BE taken count in howFarToZero.
...
For some expressions, we can use information from loop guards when
we are looking for a maximum. This patch applies information from
loop guards to the expression used to compute the maximum backedge
taken count in howFarToZero. It currently replaces an unknown
expression X with UMin(X, Y), if the loop is guarded by
X ult Y.
This patch is minimal in what conditions it applies, and there
are a few TODOs to generalize.
This partly addresses PR40961. We will also need an update to
LV to address it completely.
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D67178
2020-09-24 11:06:55 +01:00
..
2020-09-24 11:06:55 +01:00
2020-09-17 13:09:10 +01:00
2020-08-26 16:55:25 +01:00
2020-09-01 19:47:32 +00:00
2020-06-15 09:28:46 +01:00
2020-09-15 17:29:44 -07:00
2020-06-14 20:55:59 +01:00
2020-01-16 10:11:35 +00:00
2020-06-26 20:41:37 -07:00
2020-01-20 18:36:28 +07:00
2019-12-24 16:27:51 -08:00
2020-04-06 09:59:08 -06:00
2019-12-24 15:57:33 -08:00
2019-12-24 15:57:33 -08:00
2019-12-24 15:57:33 -08:00
2020-04-20 11:55:49 -07:00
2020-04-20 11:55:49 -07:00
2020-05-13 13:50:09 +01:00
2020-05-13 13:50:09 +01:00
2019-11-24 21:21:55 +00:00
2020-01-28 08:28:03 -08:00
2020-05-24 17:16:42 +01:00
2020-04-06 09:59:08 -06:00
2020-06-26 20:41:37 -07:00
2019-09-09 20:54:13 +00:00
2020-07-30 14:28:08 +01:00
2019-12-02 18:06:15 +03:00
2020-05-13 13:50:09 +01:00
2020-05-13 13:50:09 +01:00
2019-12-24 15:57:33 -08:00
2020-02-03 09:08:36 -05:00
2019-11-09 20:52:25 +02:00
2020-05-26 14:49:17 -04:00
2020-07-29 10:23:07 -07:00
2020-08-26 16:55:25 +01:00
2019-12-24 16:27:51 -08:00
2020-06-26 20:41:37 -07:00
2020-05-14 13:03:50 -07:00
2019-12-20 14:48:53 +02:00
2020-07-24 12:14:27 -07:00
2020-07-24 12:14:27 -07:00
2020-07-30 19:40:29 -07:00
2019-12-20 14:48:53 +02:00
2020-08-19 12:13:34 -07:00
2020-07-17 13:35:07 +01:00
2020-05-13 13:50:09 +01:00
2020-07-07 15:04:21 +03:00
2020-05-13 13:50:09 +01:00
2020-03-30 10:14:14 -07:00
2020-04-15 10:39:07 +03:00
2020-06-09 18:30:56 +00:00
2020-08-26 16:55:25 +01:00
2020-08-30 18:21:44 +01:00
2020-06-26 20:41:37 -07:00
2020-08-06 10:10:50 +01:00
2020-08-06 10:10:50 +01:00
2020-01-27 16:53:20 -08:00
2020-08-26 16:55:25 +01:00
2019-12-20 14:48:53 +02:00
2020-08-31 22:29:39 +03:00
2020-06-26 20:41:37 -07:00
2020-05-13 13:50:09 +01:00
2019-12-24 15:57:33 -08:00
2020-07-07 15:04:21 +03:00
2019-12-24 15:57:33 -08:00
2020-06-26 20:41:37 -07:00
2020-08-26 16:55:25 +01:00
2020-07-30 14:28:08 +01:00
2020-06-26 20:41:37 -07:00
2020-01-20 18:36:28 +07:00
2020-08-26 16:55:25 +01:00
2020-05-13 13:50:09 +01:00
2019-12-24 16:27:51 -08:00
2020-04-30 15:47:21 -04:00
2020-06-26 20:41:37 -07:00
2020-06-12 10:31:18 +01:00