Skip to content
  • Jakob Stoklund Olesen's avatar
    Revert to RA_Assign when a virtreg separates into components. · 5387bd34
    Jakob Stoklund Olesen authored
    When dead code elimination deletes a PHI value, the virtual register may
    split into multiple connected components. In that case, revert each
    component to the RS_Assign stage.
    
    The new components are guaranteed to be smaller (the original value
    numbers are distributed among the components), so this will always be
    making progress. The components are now allowed to evict other live
    ranges or be split again.
    
    llvm-svn: 136034
    5387bd34
Loading