Andrew Trick
6d45a01b67
Made SCEV's UDiv expressions more canonical. When dividing a
...
recurrence, the initial values low bits can sometimes be ignored.
To take advantage of this, added FoldIVUser to IndVarSimplify to fold
an IV operand into a udiv/lshr if the operator doesn't affect the
result.
-indvars -disable-iv-rewrite now transforms
i = phi i4
i1 = i0 + 1
idx = i1 >> (2 or more)
i4 = i + 4
into
i = phi i4
idx = i0 >> ...
i4 = i + 4
llvm-svn: 137013
2011-08-06 07:00:37 +00:00
..
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2010-02-25 06:57:05 +00:00
2009-09-05 11:35:16 +00:00
2010-02-19 18:12:07 +00:00
2010-02-19 18:12:07 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2010-02-19 18:12:07 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2010-02-19 18:12:07 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2011-06-17 03:14:27 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2011-03-18 16:50:32 +00:00
2011-03-18 16:50:32 +00:00
2009-09-11 18:01:28 +00:00
2011-04-27 23:00:03 +00:00
2010-08-30 10:48:29 +00:00
2011-07-18 20:32:31 +00:00
2011-03-18 16:50:32 +00:00
2011-03-18 16:50:32 +00:00
2010-02-19 18:12:07 +00:00
2010-04-17 21:29:25 +00:00
2009-09-11 18:01:28 +00:00
2010-07-26 18:28:14 +00:00
2010-04-02 14:48:31 +00:00
2009-09-11 18:01:28 +00:00
2011-06-02 23:57:27 +00:00
2010-04-19 21:48:58 +00:00
2010-04-13 16:51:03 +00:00
2010-04-13 01:46:36 +00:00
2009-09-11 18:01:28 +00:00
2010-04-03 07:18:48 +00:00
2010-01-21 02:09:26 +00:00
2010-06-18 01:35:11 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2011-08-06 07:00:37 +00:00
2011-05-24 01:02:49 +00:00
2011-06-21 03:22:38 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2011-07-18 20:32:31 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2010-08-30 10:48:29 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-08 22:57:49 +00:00
2011-03-18 16:50:32 +00:00
2011-07-20 05:32:06 +00:00
2011-05-24 00:17:53 +00:00
2009-09-11 18:01:28 +00:00
2011-03-18 16:50:32 +00:00
2009-09-28 21:03:02 +00:00
2011-03-18 16:50:32 +00:00
2011-03-18 16:50:32 +00:00
2011-03-18 16:50:32 +00:00
2011-03-18 16:50:32 +00:00
2011-07-02 02:34:25 +00:00
2009-09-11 18:01:28 +00:00
2010-01-26 19:25:59 +00:00
2009-09-11 18:01:28 +00:00
2010-06-17 15:18:27 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2010-06-29 23:43:06 +00:00
2009-09-11 18:01:28 +00:00
2010-04-12 21:13:43 +00:00
2010-07-16 01:28:45 +00:00
2011-07-06 20:50:43 +00:00
2009-09-11 18:01:28 +00:00