diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-01-18 21:13:27 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-01-18 21:13:27 +0000 |
commit | 267f6c1ab2a474af6e2bb90aa89b3b8c4be87142 (patch) | |
tree | 0cbcdf1d6b00ec9a82e3bb9e042f6a54d9b47a5e /llvm/lib/CodeGen/SpillPlacement.cpp | |
parent | d661a853fd3da74eff3525ea3c3af1cae831db3e (diff) | |
download | llvm-267f6c1ab2a474af6e2bb90aa89b3b8c4be87142.zip llvm-267f6c1ab2a474af6e2bb90aa89b3b8c4be87142.tar.gz llvm-267f6c1ab2a474af6e2bb90aa89b3b8c4be87142.tar.bz2 |
Add RAGreedy methods for splitting live ranges around regions.
Analyze the live range's behavior entering and leaving basic blocks. Compute an
interference pattern for each allocation candidate, and use SpillPlacement to
find an optimal region where that register can be live.
This code is still not enabled.
llvm-svn: 123774
Diffstat (limited to 'llvm/lib/CodeGen/SpillPlacement.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SpillPlacement.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SpillPlacement.cpp b/llvm/lib/CodeGen/SpillPlacement.cpp index d8cc3e8..cda2742 100644 --- a/llvm/lib/CodeGen/SpillPlacement.cpp +++ b/llvm/lib/CodeGen/SpillPlacement.cpp @@ -27,6 +27,7 @@ // //===----------------------------------------------------------------------===// +#define DEBUG_TYPE "regalloc" #include "SpillPlacement.h" #include "llvm/CodeGen/EdgeBundles.h" #include "llvm/CodeGen/LiveIntervalAnalysis.h" |