Skip to content
  • Jakob Stoklund Olesen's avatar
    Minimize the slot indexes spanned by register ranges created when splitting. · 7d406793
    Jakob Stoklund Olesen authored
    When an interfering live range ends at a dead slot index between two
    instructions, make sure that the inserted copy instruction gets a slot index
    after the dead ones. This makes it possible to avoid the interference.
    
    Ideally, there shouldn't be interference ending at a deleted instruction, but
    physical register coalescing can sometimes do that to sub-registers.
    
    This fixes PR9823.
    
    llvm-svn: 130687
    7d406793
Loading