Skip to content
  • Evan Cheng's avatar
    Really really bad local register allocator bug. On X86, it was never using... · 52c15b3e
    Evan Cheng authored
    Really really bad local register allocator bug. On X86, it was never using ESI, EDI, and EBP because of a bug in RALocal::isPhysRegAvailable(). For example, when
    it checks if ESI is available, it then looks at registers aliases to ESI. SIL is marked -2 (not allocatable) but isPhysRegAvailable() incorrectly assumes it is in use and returns false for ESI.
    
    llvm-svn: 47499
    52c15b3e
Loading