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 | f1c709837bd11c5383fce3b8a026a7c8eaabba86 (patch) | |
tree | 93f1a51b7608bf5cc57dcd508fbf5b044a143207 /lib/VMCore/Function.cpp | |
parent | 49c19f778b62df6f2a28798113a17d5cb3582bda (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
0 files changed, 0 insertions, 0 deletions