Skip to content
  • Andrew Trick's avatar
    This is a prototype of an experimental register allocation · 1c24605a
    Andrew Trick authored
    framework. It's purpose is not to improve register allocation per se,
    but to make it easier to develop powerful live range splitting. I call
    it the basic allocator because it is as simple as a global allocator
    can be but provides the building blocks for sophisticated register
    allocation with live range splitting. 
    
    A minimal implementation is provided that trivially spills whenever it
    runs out of registers. I'm checking in now to get high-level design
    and style feedback. I've only done minimal testing. The next step is
    implementing a "greedy" allocation algorithm that does some register
    reassignment and makes better splitting decisions.
    
    llvm-svn: 117174
    1c24605a
Loading