[all-commits] [llvm/llvm-project] 482794: X86: Mark the EFLAGS def of the FastISel call fram...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Sep 24 12:39:56 PDT 2026


  Branch: refs/heads/users/arsenm/x86/fast-isel-call-frame-dead-eflags
  Home:   https://github.com/llvm/llvm-project
  Commit: 4827948810385cb046238e97d65ca02e80bdaeb0
      https://github.com/llvm/llvm-project/commit/4827948810385cb046238e97d65ca02e80bdaeb0
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86FastISel.cpp
    A llvm/test/CodeGen/X86/fast-isel-call-frame-dead-eflags.ll

  Log Message:
  -----------
  X86: Mark the EFLAGS def of the FastISel call frame pseudos dead

ADJCALLSTACKDOWN/UP are declared to clobber EFLAGS because they may expand to
a sub/add, but nothing reads the result. SelectionDAG's InstrEmitter marks the
def dead.

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