Skip to content
  • Jakob Stoklund Olesen's avatar
    Handle an empty dupli. · 991e4ee8
    Jakob Stoklund Olesen authored
    This can happen if the original interval has been broken into two disconnected
    parts. Ideally, we should be able to detect when the graph is disconnected and
    create separate intervals, but that code is not implemented yet.
    
    Example:
    
    Two basic blocks are both branching to a loop header. Our interval is defined in
    both basic blocks, and live into the loop along both edges.
    
    We decide to split the interval around the loop. The interval is split into an
    inside part and an outside part. The outside part now has two disconnected
    segments, one in each basic block.
    
    If we later decide to split the outside interval into single blocks, we get one
    interval per basic block and an empty dupli for the remainder.
    
    llvm-svn: 110976
    991e4ee8
Loading