Skip to content
  • Jakob Stoklund Olesen's avatar
    Add the LiveIntervalMap class. Don't hook it up yet. · ce6f055b
    Jakob Stoklund Olesen authored
    LiveIntervalMap maps values from a parent LiveInterval to a child interval that
    is a strict subset. It will create phi-def values as needed to preserve the
    VNInfo SSA form in the child interval.
    
    This leads to an algorithm very similar to the one in SSAUpdaterImpl.h, but with
    enough differences that the code can't be reused:
    
    - We don't need to manipulate PHI instructions.
    - LiveIntervals have kills.
    - We have MachineDominatorTree.
    - We can use df_iterator.
    
    llvm-svn: 111393
    ce6f055b
Loading