mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-23 02:32:11 +00:00
TODO comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165605 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dbe6d43dfa
commit
85c7b6108f
@ -109,6 +109,9 @@ public:
|
||||
|
||||
int getReadAdvanceCycles(const MCSchedClassDesc *SC, unsigned UseIdx,
|
||||
unsigned WriteResID) const {
|
||||
// TODO: The number of read advance entries in a class can be significant
|
||||
// (~50). Consider compressing the WriteID into a dense ID of those that are
|
||||
// used by ReadAdvance and representing them as a bitset.
|
||||
for (const MCReadAdvanceEntry *I = &ReadAdvanceTable[SC->ReadAdvanceIdx],
|
||||
*E = I + SC->NumReadAdvanceEntries; I != E; ++I) {
|
||||
if (I->UseIdx < UseIdx)
|
||||
|
Loading…
x
Reference in New Issue
Block a user