Chad Rosier 478b06c980 When fast iseling a GEP, accumulate the offset rather than emitting a series of
ADDs.  MaxOffs is used as a threshold to limit the size of the offset. Tradeoffs
being: (1) If we can't materialize the large constant then we'll cause fast-isel
to bail. (2) Too large of an offset can't be directly encoded in the ADD
resulting in a MOV+ADD.  Generally not a bad thing because otherwise we would
have had ADD+ADD, but on Thumb this turns into a MOVS+MOVT+ADD. Working on a fix
for that. (3) Conversely, too low of a threshold we'll miss opportunities to 
coalesce ADDs.
rdar://10412592



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144886 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-17 07:15:58 +00:00
..
2010-11-03 18:21:33 +00:00
2010-09-17 21:46:16 +00:00
2010-10-22 21:55:03 +00:00
2010-01-19 00:35:20 +00:00
2011-04-21 20:16:43 +00:00
2011-03-14 21:05:21 +00:00
2010-09-02 20:19:24 +00:00
2011-07-14 06:23:09 +00:00
2010-03-14 18:42:52 +00:00
2011-03-23 23:34:19 +00:00
2010-06-04 01:01:24 +00:00
2010-06-04 23:28:13 +00:00
2011-11-14 18:03:05 +00:00
2009-10-21 08:15:52 +00:00
2010-10-22 22:04:28 +00:00
2011-03-15 01:49:08 +00:00
2011-04-01 03:36:33 +00:00
2011-11-12 22:39:34 +00:00
2011-07-26 20:49:44 +00:00
2010-08-30 23:41:49 +00:00
2010-11-29 22:39:38 +00:00
2009-09-15 20:58:02 +00:00
2009-09-15 20:58:02 +00:00
2009-10-07 20:51:42 +00:00
2011-10-17 20:23:23 +00:00