Skip to content

PR for llvm/llvm-project#59172#228

Merged
tstellar merged 1 commit into
release/15.xfrom
nikic-fast-ra-dbg-backport
Jan 12, 2023
Merged

PR for llvm/llvm-project#59172#228
tstellar merged 1 commit into
release/15.xfrom
nikic-fast-ra-dbg-backport

Conversation

@llvmbot

@llvmbot llvmbot commented Jan 10, 2023

Copy link
Copy Markdown
Member

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 llvm/llvm-project#59172

Reviewed By: StephenTozer

Differential Revision: https://reviews.llvm.org/D139590

(cherry picked from commit 87f57f4)
@llvmbot

llvmbot commented Jan 10, 2023

Copy link
Copy Markdown
Member Author

@SLTozer What do you think about merging this PR to the release branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RegAllocFast::runOnMachineFunction misses a virtual register

3 participants