[all-commits] [llvm/llvm-project] d3263d: TwoAddressInstructions: Don't treat an undef use a...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Sep 29 10:48:02 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3263d348e9908efaf128e65f54d6029b6b61036
      https://github.com/llvm/llvm-project/commit/d3263d348e9908efaf128e65f54d6029b6b61036
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-29 (Tue, 29 Sep 2026)

  Changed paths:
    M llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
    A llvm/test/CodeGen/X86/twoaddr-undef-use-not-killed.mir

  Log Message:
  -----------
  TwoAddressInstructions: Don't treat an undef use as a kill (#227309)

An undef use does not read a value, so LiveIntervals does not extend the
live range to cover it. Previously this would hit the assert on an
undef use.

Exposed by #225174, which made LiveIntervals available here by default.

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