[all-commits] [llvm/llvm-project] 8f2887: AMDGPU: Maintain LiveIntervals when removing block...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Tue Sep 15 03:07:46 PDT 2026
Branch: refs/heads/users/arsenm/amdgpu/silcf-remove-redundant-block-liveintervals
Home: https://github.com/llvm/llvm-project
Commit: 8f2887a4ef1bf4778e45ef0f6d5a3faca6144515
https://github.com/llvm/llvm-project/commit/8f2887a4ef1bf4778e45ef0f6d5a3faca6144515
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-09-15 (Tue, 15 Sep 2026)
Changed paths:
M llvm/include/llvm/CodeGen/SlotIndexes.h
M llvm/lib/CodeGen/SlotIndexes.cpp
M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
A llvm/test/CodeGen/AMDGPU/si-lower-control-flow-remove-redundant-block-liveintervals.mir
Log Message:
-----------
AMDGPU: Maintain LiveIntervals when removing blocks in SILowerControlFlow
removeMBBifRedundant removed a redundant block's instructions from the
LiveIntervals maps but not the block itself, leaving a stale idx2MBBMap entry
that crashed getMBBFromIndex in the verifier.
Add SlotIndexes::removeMBBFromMaps to drop the erased block's slot range, and
recompute the intervals that spanned it.
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