Jakob Stoklund Olesen
740cd657f3
Don't break the IV update in TLI::SimplifySetCC().
...
LSR always tries to make the ICmp in the loop latch use the incremented
induction variable. This allows the induction variable to be kept in a
single register.
When the induction variable limit is equal to the stride,
SimplifySetCC() would break LSR's hard work by transforming:
(icmp (add iv, stride), stride) --> (cmp iv, 0)
This forced us to use lea for the IC update, preventing the simpler
incl+cmp.
<rdar://problem/7643606>
<rdar://problem/11184260>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154119 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-05 20:30:20 +00:00
..
2011-12-20 18:26:50 +00:00
2011-06-19 00:03:46 +00:00
2011-06-19 00:03:46 +00:00
2011-06-19 00:03:46 +00:00
2011-06-18 06:05:24 +00:00
2011-03-11 21:52:04 +00:00
2010-09-17 20:34:09 +00:00
2010-09-17 20:34:09 +00:00
2011-03-11 21:52:04 +00:00
2011-06-30 18:25:42 +00:00
2011-11-14 23:03:21 +00:00
2011-11-27 06:54:59 +00:00
2010-09-03 18:37:12 +00:00
2011-11-14 23:03:21 +00:00
2011-08-03 22:34:43 +00:00
2011-05-04 19:02:11 +00:00
2012-01-04 01:55:04 +00:00
2010-12-04 04:40:19 +00:00
2011-04-22 01:42:52 +00:00
2011-06-30 22:10:46 +00:00
2011-12-17 01:25:34 +00:00
2012-01-14 01:53:46 +00:00
2011-12-16 23:00:05 +00:00
2012-01-06 22:19:37 +00:00
2011-05-04 19:02:11 +00:00
2010-10-20 22:03:37 +00:00
2012-01-10 22:32:14 +00:00
2010-10-08 06:15:13 +00:00
2012-03-28 23:07:03 +00:00
2011-03-11 21:52:04 +00:00
2010-11-17 21:57:32 +00:00
2012-02-28 01:15:01 +00:00
2010-12-03 20:33:01 +00:00
2011-11-12 22:39:34 +00:00
2012-03-25 09:02:19 +00:00
2012-04-05 20:30:20 +00:00
2011-12-14 02:11:42 +00:00
2011-07-02 21:34:52 +00:00
2011-09-26 21:36:10 +00:00
2011-09-26 21:36:10 +00:00
2010-08-13 22:43:33 +00:00
2012-01-10 02:02:58 +00:00
2011-12-12 11:59:10 +00:00
2011-05-04 19:02:07 +00:00
2011-05-04 19:02:07 +00:00
2011-05-04 19:02:07 +00:00
2010-08-13 22:43:33 +00:00
2011-08-03 22:34:43 +00:00
2012-01-04 01:55:04 +00:00
2011-01-21 18:55:51 +00:00
2012-01-04 01:55:04 +00:00
2011-11-12 19:53:52 +00:00
2011-04-25 10:12:01 +00:00
2012-02-24 00:33:36 +00:00
2010-11-17 20:13:28 +00:00
2012-02-24 00:33:36 +00:00
2011-07-01 21:12:19 +00:00
2010-08-17 17:23:19 +00:00
2011-07-07 03:55:05 +00:00
2011-04-29 14:18:15 +00:00
2011-06-29 14:07:18 +00:00
2011-12-14 02:11:42 +00:00
2011-07-01 21:12:19 +00:00
2011-07-01 21:12:19 +00:00
2011-01-07 04:59:04 +00:00
2011-04-23 03:55:32 +00:00
2011-04-23 03:55:32 +00:00
2011-06-17 03:14:27 +00:00
2011-08-08 19:49:37 +00:00
2011-07-13 00:42:17 +00:00
2011-07-13 00:42:17 +00:00
2011-07-13 00:42:17 +00:00
2011-07-13 00:42:17 +00:00
2011-06-17 03:14:27 +00:00
2011-04-13 00:38:32 +00:00