HomePhabricator

[NFC][regalloc] Unit test for AllocationOrder iteration.

Authored by mtrofin on Sep 28 2020, 4:41 PM.

Description

[NFC][regalloc] Unit test for AllocationOrder iteration.

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

Details

Committed
mtrofinSep 29 2020, 10:48 AM
Differential Revision
D88455: [NFC][regalloc] Unit test for AllocationOrder iteration.
Parents
rG3681be876fea: Add -fprofile-update={atomic,prefer-atomic,single}
Branches
Unknown
Tags
Unknown