Skip to content
  • Chris Lattner's avatar
    Try to avoid scanning the fixed list. On architectures with a non-stupid · 834a2316
    Chris Lattner authored
    number of regs (e.g. most riscs), many functions won't need to use callee
    clobbered registers.  Do a speculative check to see if we can get a free
    register without processing the fixed list (which has all of these).  This
    saves a lot of time on machines with lots of callee clobbered regs (e.g.
    ppc and itanium, also x86).
    
    This reduces ppc llc compile time from 184s -> 172s on kc++.  This is probably
    worth FAR FAR more on itanium though.
    
    llvm-svn: 22972
    834a2316
Loading