[PATCH] D88197: [NFC][regalloc] Remove unused API in AllocationOrder
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 12:26:08 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG89aad892a596: [NFC][regalloc] Remove unused API in AllocationOrder (authored by mtrofin).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88197/new/
https://reviews.llvm.org/D88197
Files:
llvm/lib/CodeGen/AllocationOrder.h
Index: llvm/lib/CodeGen/AllocationOrder.h
===================================================================
--- llvm/lib/CodeGen/AllocationOrder.h
+++ llvm/lib/CodeGen/AllocationOrder.h
@@ -67,20 +67,6 @@
return 0;
}
- /// As next(), but allow duplicates to be returned, and stop before the
- /// Limit'th register in the RegisterClassInfo allocation order.
- ///
- /// This can produce more than Limit registers if there are hints.
- unsigned nextWithDups(unsigned Limit) {
- if (Pos < 0)
- return Hints.end()[Pos++];
- if (HardHints)
- return 0;
- if (Pos < int(Limit))
- return Order[Pos++];
- return 0;
- }
-
/// Start over from the beginning.
void rewind() { Pos = -int(Hints.size()); }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88197.294135.patch
Type: text/x-patch
Size: 745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200924/31367bf8/attachment.bin>
More information about the llvm-commits
mailing list