[PATCH] D96015: [RegAllocFast] Handle case where operand of copy cannot be assigned.
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 4 14:24:25 PST 2021
qcolombet added a comment.
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.
Basically, I am mildly against having the fast allocator doing some sort of rescheduling. This opens the door of all of crazy thing :). (Like you realized, copy are not special here, the same problem could happen with any instruction.)
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