summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2010-10-22 23:09:15 +0000
committerAndrew Trick <atrick@apple.com>2010-10-22 23:09:15 +0000
commit1c24605a575b9cc37fbabce03ed430a1d24ee287 (patch)
tree535996da4c00c1d3018b7cf57eaffafbca968911 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentcb5c1b75fe4fb2edc81b80000aaedd279fe4a2b0 (diff)
downloadbcm5719-llvm-1c24605a575b9cc37fbabce03ed430a1d24ee287.tar.gz
bcm5719-llvm-1c24605a575b9cc37fbabce03ed430a1d24ee287.zip
This is a prototype of an experimental register allocation
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud