[all-commits] [llvm/llvm-project] 769994: CodeGen: Check subrange liveness directly when tri...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Thu Oct 1 06:56:59 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 76999494a553fc0aa6b06f99c77461cf134ee8d1
https://github.com/llvm/llvm-project/commit/76999494a553fc0aa6b06f99c77461cf134ee8d1
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-10-01 (Thu, 01 Oct 2026)
Changed paths:
M llvm/lib/CodeGen/MachineBasicBlock.cpp
Log Message:
-----------
CodeGen: Check subrange liveness directly when trimming split edges (#228055)
SplitCriticalEdge trims the stale extension of a live range into the newly created
block. The subrange guard used overlaps(StartIndex, EndIndex), which only
happens to be equivalent to the containment removeSegment requires.
StartIndex is an index created for the new block, and EndIndex is the block end
index the live-out segments already end at, so no pre-existing segment endpoint
falls between them.
Check liveAt(PrevIndex) instead, mirroring the same condition on the main range.
Co-authored-by: Claude Opus 5 <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