[all-commits] [llvm/llvm-project] f3a5a6: X86: Remove stale EFLAGS live range when convertin...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Sep 9 07:41:12 PDT 2026


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

  Changed paths:
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    A llvm/test/CodeGen/X86/twoaddr-lea-eflags-liveintervals.ll

  Log Message:
  -----------
  X86: Remove stale EFLAGS live range when converting ADD to LEA (#222029)

convertToThreeAddress may rewrite an EFLAGS-clobbering ADD into an LEA,
which does not define EFLAGS. hasLiveCondCodeDef guarantees the EFLAGS def 
was dead, so drop its LiveIntervals value, otherwise the verifier would fail.

Fixes verifier errors with -early-live-intervals.

Co-authored-by: Claude (Claude-Opus-4.8)



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