Skip to content
  • Jakob Stoklund Olesen's avatar
    Add experimental support for register unit liveness. · 12e03dae
    Jakob Stoklund Olesen authored
    Instead of computing a live interval per physreg, LiveIntervals can
    compute live intervals per register unit. This makes impossible the
    confusing situation where aliasing registers could have overlapping live
    intervals. It should also make fixed interferernce checking cheaper
    since registers have fewer register units than aliases.
    
    Live intervals for regunits are computed on demand, using MRI use-def
    chains and the new LiveRangeCalc class. Only regunits live in to ABI
    blocks are precomputed during LiveIntervals::runOnMachineFunction().
    
    The regunit liveness computations don't depend on LiveVariables.
    
    llvm-svn: 158029
    12e03dae
Loading