[all-commits] [llvm/llvm-project] 3377fb: CodeGen: Clear physreg ranges after SplitCriticalE...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Sep 14 14:44:38 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3377fbdd341a30c57c7a5e3ff11aeb21f9d2e6d4
https://github.com/llvm/llvm-project/commit/3377fbdd341a30c57c7a5e3ff11aeb21f9d2e6d4
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-09-14 (Mon, 14 Sep 2026)
Changed paths:
M llvm/lib/CodeGen/MachineBasicBlock.cpp
A llvm/test/CodeGen/WebAssembly/splitcriticaledge-physreg-liveness.mir
Log Message:
-----------
CodeGen: Clear physreg ranges after SplitCriticalEdge (#223172)
After critical edge spliting replaces a terminator, clear referenced
physreg ranges. The block's terminators may be replaced, and may
reference physical registers (e.g. WebAssebly's ARGUMENTS. When
LiveIntervals is available, repairIntervalsInRange only repairs virtual
registers, so the tracked physreg units were stale.
It feels like a bug that repairIntervalsInRange doesn't touch physregs,
but I've left that for a future change.
Co-Authored-By: Claude claude-opus-4.8 <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list