summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-14 00:31:14 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-14 00:31:14 +0000
commitc270cb6e9420ccc2a02a68bcaa9d716a8cd278ec (patch)
tree82ed90f0b484efcd235e8768e827ab6d6e2b50a1 /clang/lib/CodeGen/CodeGenModule.cpp
parentbc2ae1c865b1e2996cab6aaa489cd80cdbff48ef (diff)
downloadbcm5719-llvm-c270cb6e9420ccc2a02a68bcaa9d716a8cd278ec.tar.gz
bcm5719-llvm-c270cb6e9420ccc2a02a68bcaa9d716a8cd278ec.zip
Count references to interference cache entries.
Each InterferenceCache::Cursor instance references a cache entry. A non-zero reference count guarantees that the entry won't be reused for a new register. This makes it possible to have multiple live cursors examining interference for different physregs. The total number of live cursors into a cache must be kept below InterferenceCache::getMaxCursors(). Code generation should be unaffected by this change, and it doesn't seem to affect the cache replacement strategy either. llvm-svn: 135121
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud