Jakob Stoklund Olesen f5497fb1b4 Teach LiveInterval::isZeroLength about null SlotIndexes.
When instructions are deleted, they leave tombstone SlotIndex entries.
The isZeroLength method should ignore these null indexes.

This causes RABasic to sometimes spill a callee-saved register in the
abi-isel.ll test, so don't run that test with -regalloc=basic.  Prioritizing
register allocation according to spill weight can cause more registers to be
used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131436 91177308-0d34-0410-b5e6-96231b3b80d8
2011-05-16 23:50:05 +00:00
..
2010-11-03 18:21:33 +00:00
2010-08-04 21:56:30 +00:00
2010-09-17 21:46:16 +00:00
2010-10-22 21:55:03 +00:00
2011-04-05 18:41:40 +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-04-05 18:41:40 +00:00
2011-03-23 23:34:19 +00:00
2010-06-04 01:01:24 +00:00
2011-04-05 18:41:40 +00:00
2010-06-04 23:28:13 +00:00
2010-10-22 22:04:28 +00:00
2011-04-05 18:41:40 +00:00
2011-03-15 01:49:08 +00:00
2011-04-01 03:36:33 +00:00
2010-08-30 23:41:49 +00:00
2010-11-29 22:39:38 +00:00
2011-03-15 20:47:26 +00:00