[all-commits] [llvm/llvm-project] 7c9ae5: TwoAddressInstructions: Use the per-operand early ...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Sep 30 00:42:33 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c9ae52cfdce9b7fc6f06b1a5f3a54f9a2f2d0ec
https://github.com/llvm/llvm-project/commit/7c9ae52cfdce9b7fc6f06b1a5f3a54f9a2f2d0ec
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
A llvm/test/CodeGen/X86/twoaddr-mixed-early-clobber-tied-defs.ll
A llvm/test/CodeGen/X86/twoaddr-mixed-early-clobber-tied-defs.mir
Log Message:
-----------
TwoAddressInstructions: Use the per-operand early clobber flag for tied copies (#227581)
The live interval update for the copy inserted for a tied operand ended
the new segment at getRegSlot(IsEarlyClobber), using a flag computed
once per instruction for any tied pairs. Use the flag
of the def actually being processed.
With an inline asm mixing "=&r" and "=r" outputs tied to the same input,
the copy for the plain def ended at the early clobber slot, leaving a
hole before its own def. That splits the live range into multiple
connected components and asserts in updatePressureDiffs.
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