diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-04-02 06:03:35 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-04-02 06:03:35 +0000 |
commit | 5907d863659eb972ebb2afe07bc863a4c616f0ef (patch) | |
tree | 36571ce2f0dac41150c44d8a04b2f8199a744858 /lib/CodeGen/RegAllocGreedy.cpp | |
parent | a122eaaee22750c4f92c33672e149eb2f0c538cb (diff) |
Add an InterferenceCache class for caching per-block interference ranges.
When the greedy register allocator is splitting multiple global live ranges, it
tends to look at the same interference data many times. The InterferenceCache
class caches queries for unaltered LiveIntervalUnions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128764 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocGreedy.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocGreedy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp index 05387d2727..e2cf71a650 100644 --- a/lib/CodeGen/RegAllocGreedy.cpp +++ b/lib/CodeGen/RegAllocGreedy.cpp @@ -14,7 +14,7 @@ #define DEBUG_TYPE "regalloc" #include "AllocationOrder.h" -#include "LiveIntervalUnion.h" +#include "InterferenceCache.h" #include "LiveRangeEdit.h" #include "RegAllocBase.h" #include "Spiller.h" |