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

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 21 10:49:33 PST 2022


qcolombet added a comment.

> I haven't looked into it yet, but we see cases of "ran out of registers during register allocation" with this patch, for code that compiled succesfully before.

I was wondering about that.
I think it could happen if each element of the super register is recolored as well. I.e., at the one point in the recoloring the super register becomes fully available.


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

https://reviews.llvm.org/D119973



More information about the llvm-commits mailing list