Skip to content
  • Jakob Stoklund Olesen's avatar
    Teach LiveInterval::isZeroLength about null SlotIndexes. · 4edf17d9
    Jakob Stoklund Olesen authored
    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.
    
    llvm-svn: 131436
    4edf17d9
Loading