Skip to content
  • Jakob Stoklund Olesen's avatar
    Fix emergency spilling in LiveIntervals::spillPhysRegAroundRegDefsUses. · 9beef41f
    Jakob Stoklund Olesen authored
    Always spill the full representative register at any point where any subregister
    is live.
    
    This fixes PR8620 which caused the old logic to get confused and not spill
    anything at all.
    
    The fundamental problem here is that the coalescer is too aggressive about
    physical register coalescing. It sometimes makes it impossible to allocate
    registers without these emergency spills.
    
    llvm-svn: 119375
    9beef41f
Loading