Skip to content
  • Jakob Stoklund Olesen's avatar
    Speed up LiveIntervals::shrinkToUse with some caching. · b8b1d4c4
    Jakob Stoklund Olesen authored
    Blocks with multiple PHI successors only need to go on the worklist
    once.  Use a SmallPtrSet to track the live-out blocks that have already
    been handled.  This is a lot faster than the two live range check we
    would otherwise do.
    
    Also stop recomputing hasPHIKill flags.  Like RenumberValues(), it is
    conservatively correct to leave them in, and they are not used for
    anything important.
    
    llvm-svn: 139792
    b8b1d4c4
Loading