Skip to content
  • Jakob Stoklund Olesen's avatar
    Evict a lighter single interference before attempting to split a live range. · 1305bc0a
    Jakob Stoklund Olesen authored
    Registers are not allocated strictly in spill weight order when live range
    splitting and spilling has created new shorter intervals with higher spill
    weights.
    
    When one of the new heavy intervals conflicts with a single lighter interval,
    simply evict the old interval instead of trying to split the heavy one.
    
    The lighter interval is a better candidate for splitting, it has a smaller use
    density.
    
    llvm-svn: 125151
    1305bc0a
Loading