Skip to content
  • Jakob Stoklund Olesen's avatar
    Split around single instructions to enable register class inflation. · 8627ea91
    Jakob Stoklund Olesen authored
    Normally, we don't create a live range for a single instruction in a
    basic block, the spiller does that anyway. However, when splitting a
    live range that belongs to a proper register sub-class, inserting these
    extra COPY instructions completely remove the constraints from the
    remainder interval, and it may be allocated from the larger super-class.
    
    The spiller will mop up these small live ranges if we end up spilling
    anyway. It calls them snippets.
    
    llvm-svn: 136989
    8627ea91
Loading