[PATCH] D119973: RegAllocGreedy: Fix last chance recolor assert in impossible case

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 25 14:59:41 PDT 2022


qcolombet added a comment.

> I'm wondering if a better strategy would be to try avoiding recolor candidates that could conflict with the saved recoloring state for fixed registers

If we go down that road, I'm pretty sure we will find cases where the recoloring was working previously and that would fail after such change.
The idea is while doing the recoloring we should have access to every color that is currently available.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119973/new/

https://reviews.llvm.org/D119973



More information about the llvm-commits mailing list