diff options
| author | Andrew Trick <atrick@apple.com> | 2010-10-22 23:09:15 +0000 |
|---|---|---|
| committer | Andrew Trick <atrick@apple.com> | 2010-10-22 23:09:15 +0000 |
| commit | 1c24605a575b9cc37fbabce03ed430a1d24ee287 (patch) | |
| tree | 535996da4c00c1d3018b7cf57eaffafbca968911 /llvm/lib/CodeGen/SplitKit.h | |
| parent | cb5c1b75fe4fb2edc81b80000aaedd279fe4a2b0 (diff) | |
| download | bcm5719-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/SplitKit.h')
| -rw-r--r-- | llvm/lib/CodeGen/SplitKit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.h b/llvm/lib/CodeGen/SplitKit.h index 80fc23642a8..d9f16dc9155 100644 --- a/llvm/lib/CodeGen/SplitKit.h +++ b/llvm/lib/CodeGen/SplitKit.h @@ -1,4 +1,4 @@ -//===---------- SplitKit.cpp - Toolkit for splitting live ranges ----------===// +//===-------- SplitKit.cpp - Toolkit for splitting live ranges --*- C++ -*-===// // // The LLVM Compiler Infrastructure // |

