summaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/AllocationOrderTest.cpp
AgeCommit message (Collapse)Author
2020-10-05[NFC][regalloc] Separate iteration from AllocationOrderMircea Trofin
This separates the two concerns - encapsulation of traversal order; and iteration. Differential Revision: https://reviews.llvm.org/D88256
2020-09-29[NFC][regalloc] Unit test for AllocationOrder iteration.Mircea Trofin
Added unittests. In the process, separated core construction - which just needs the hits, order, and 'HardHints' values - from construction from current register allocation state, to simplify testing. Differential Revision: https://reviews.llvm.org/D88455