diff options
author | Mircea Trofin <mtrofin@google.com> | 2021-11-15 13:27:00 -0800 |
---|---|---|
committer | Mircea Trofin <mtrofin@google.com> | 2021-11-16 10:50:23 -0800 |
commit | c6b9b702a049ba96294f174983016e8b3e11afb0 (patch) | |
tree | 0662dde17d78151831c97419a49f0208e5b72741 /llvm/lib/Support/APInt.cpp | |
parent | 7bfa9bd15574fd853db7cfb726f7e3a299c8a6cf (diff) | |
download | llvm-c6b9b702a049ba96294f174983016e8b3e11afb0.zip llvm-c6b9b702a049ba96294f174983016e8b3e11afb0.tar.gz llvm-c6b9b702a049ba96294f174983016e8b3e11afb0.tar.bz2 |
[NFC][Regalloc] Factor out eviction decision from eviction attempt
This splits tryEvict into a const tryFindEvictionCandidate, which
attempts to find a candidate, and the actual eviction (should the former
be successful)
The newly introduced tryFindEvictionCandidate will move subsequently
into the RegAllocEvictionAdvisor.
RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-November/153639.html
Differential Revision: https://reviews.llvm.org/D113941
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions