[all-commits] [llvm/llvm-project] 2483d0: X86: Preserve the dead flag clobber when expanding...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Sep 30 06:16:26 PDT 2026


  Branch: refs/heads/users/arsenm/x86/dyn-alloca-dead-eflags
  Home:   https://github.com/llvm/llvm-project
  Commit: 2483d070f0a8c08532a21aa14cbcf44333079cdb
      https://github.com/llvm/llvm-project/commit/2483d070f0a8c08532a21aa14cbcf44333079cdb
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86DynAllocaExpander.cpp
    A llvm/test/CodeGen/X86/dyn-alloca-expander-dead-eflags.ll

  Log Message:
  -----------
  X86: Preserve the dead flag clobber when expanding dynamic allocas

The DYN_ALLOCA pseudos clobber EFLAGS, so propagate the pseudo's dead
flag to the stack adjustment they expand to.

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