Skip to content
  • Jakob Stoklund Olesen's avatar
    Prioritize smaller register classes for urgent evictions. · 05e2245f
    Jakob Stoklund Olesen authored
    It helps compile exotic inline asm. In the test case, normal GR32
    virtual registers use up eax-edx so the final GR32_ABCD live range has
    no registers left. Since all the live ranges were tiny, we had no way of
    prioritizing the smaller register class.
    
    This patch allows tiny unspillable live ranges to be evicted by tiny
    unspillable live ranges from a smaller register class.
    
    <rdar://problem/11542429>
    
    llvm-svn: 157715
    05e2245f
Loading