We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed1e58 commit 89aad89Copy full SHA for 89aad89
llvm/lib/CodeGen/AllocationOrder.h
@@ -67,20 +67,6 @@ class LLVM_LIBRARY_VISIBILITY AllocationOrder {
67
return 0;
68
}
69
70
- /// As next(), but allow duplicates to be returned, and stop before the
71
- /// Limit'th register in the RegisterClassInfo allocation order.
72
- ///
73
- /// This can produce more than Limit registers if there are hints.
74
- unsigned nextWithDups(unsigned Limit) {
75
- if (Pos < 0)
76
- return Hints.end()[Pos++];
77
- if (HardHints)
78
- return 0;
79
- if (Pos < int(Limit))
80
- return Order[Pos++];
81
82
- }
83
-
84
/// Start over from the beginning.
85
void rewind() { Pos = -int(Hints.size()); }
86
0 commit comments