diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-07-14 05:35:11 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-07-14 05:35:11 +0000 |
commit | a153ca5885f2bfb4f15dc31b71daf8e3f5491bc2 (patch) | |
tree | c0a882857f40f5216b2e2377f7c9e44414efdebe /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 91d831bc2dbf3fe5a25b9eb2f8e41dfcb5f809b4 (diff) | |
download | bcm5719-llvm-a153ca5885f2bfb4f15dc31b71daf8e3f5491bc2.tar.gz bcm5719-llvm-a153ca5885f2bfb4f15dc31b71daf8e3f5491bc2.zip |
Reapply r135121 with a fixed copy constructor.
Original commit message:
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: 135130
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions