[all-commits] [llvm/llvm-project] 87f57f: [RegAllocFast] Handle new debug values for spills
Josh Stone via All-commits
all-commits at lists.llvm.org
Thu Jan 5 20:42:50 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87f57f459e7acbb00a6ca4ee6dec6014c5a97e07
https://github.com/llvm/llvm-project/commit/87f57f459e7acbb00a6ca4ee6dec6014c5a97e07
Author: Josh Stone <jistone at redhat.com>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M llvm/lib/CodeGen/RegAllocFast.cpp
A llvm/test/CodeGen/PowerPC/regalloc-fast-debug-spill.ll
Log Message:
-----------
[RegAllocFast] Handle new debug values for spills
These new debug values get inserted after the place where the spill
happens, which means they won't be reached by the reverse traversal of
basic block instructions. This would crash or fail assertions if they
contained any virtual registers to be replaced. We can manually handle
the new debug values right away to resolve this.
Fixes https://github.com/llvm/llvm-project/issues/59172
Reviewed By: StephenTozer
Differential Revision: https://reviews.llvm.org/D139590
More information about the All-commits
mailing list