[PATCH] D96015: [RegAllocFast] Handle case where operand of copy cannot be assigned.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 14:43:42 PST 2021


fhahn added a comment.

In D96015#2543375 <https://reviews.llvm.org/D96015#2543375>, @qcolombet wrote:

> Is it something we could fix in the scheduler instead?
>
> I think it is fair to end up with a "run out of registers" error here. Without changing the schedule, the allocation is not possible.
>
> The expectation is the scheduler is supposed to keep the physical registers live-ranges as small as possible.

Unfortunately this is only a problem with `-O0` and the MachineScheduler does not run and the list scheduler has register pressure tracking disabled I think.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96015



More information about the llvm-commits mailing list