Skip to content
  • Jakob Stoklund Olesen's avatar
    Be more conservative when forming compact regions. · 86954520
    Jakob Stoklund Olesen authored
    Apply twice the negative bias on transparent blocks when computing the
    compact regions. This excludes loop backedges from the region when only
    one of the loop blocks uses the register.
    
    Previously, we would include the backedge in the region if the loop
    preheader and the loop latch both used the register, but the loop header
    didn't.
    
    When both the header and latch blocks use the register, we still keep it
    live on the backedge.
    
    llvm-svn: 136832
    86954520
Loading