Philip Reames d6394d86ca [cgp] improve robustness of uadd/usub transforms
LSR prefers to schedule iv increments just before the latch.  The recent 80511565 broadened this to moving increments in the original IR.  This pointed out a robustness problem with the CGP transform.

When we have a use of an induction increment outside of the loop (we canonicalize away from this form, but it happens e.g. unanalyzeable loops) we'd avoid performing the uadd/usub transform.  Interestingly, all of these involve moving the increment closer to it's operands, so there's no concern about dominating all uses.  We can handle that case cheaply, resulting in a more robust transform.
2021-03-09 11:52:08 -08:00
..
2020-06-25 10:06:27 +08:00
2020-07-20 10:23:09 -04:00
2020-12-08 15:36:47 +00:00
2020-06-21 15:54:17 +01:00
2020-10-15 17:14:55 -04:00
2021-02-15 14:27:12 +08:00
2020-11-26 12:06:44 +00:00
2020-10-27 16:45:46 +00:00
2020-04-09 10:36:00 +01:00
2020-07-23 20:56:19 +02:00
2020-07-23 20:56:19 +02:00
2020-12-08 15:36:47 +00:00
2021-02-21 21:25:26 +00:00
2020-12-08 10:28:26 +00:00