llvm.org GIT mirror llvm / 85c7b61
TODO comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165605 91177308-0d34-0410-b5e6-96231b3b80d8 Andrew Trick 8 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
108108
109109 int getReadAdvanceCycles(const MCSchedClassDesc *SC, unsigned UseIdx,
110110 unsigned WriteResID) const {
111 // TODO: The number of read advance entries in a class can be significant
112 // (~50). Consider compressing the WriteID into a dense ID of those that are
113 // used by ReadAdvance and representing them as a bitset.
111114 for (const MCReadAdvanceEntry *I = &ReadAdvanceTable[SC->ReadAdvanceIdx],
112115 *E = I + SC->NumReadAdvanceEntries; I != E; ++I) {
113116 if (I->UseIdx < UseIdx)