[all-commits] [llvm/llvm-project] 2d257f: X86: Mark the dead EFLAGS clobbers in the SjLj exp...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Sep 29 03:49:27 PDT 2026


  Branch: refs/heads/users/arsenm/x86/sjlj-dead-eflags
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d257f741120a78976223c2c1bf46f096327008b
      https://github.com/llvm/llvm-project/commit/2d257f741120a78976223c2c1bf46f096327008b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-29 (Tue, 29 Sep 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    A llvm/test/CodeGen/X86/sjlj-shadow-stack-dead-eflags.ll

  Log Message:
  -----------
  X86: Mark the dead EFLAGS clobbers in the SjLj expansions

The zero materializations and the shadow stack delta shifts emitted by
the setjmp/longjmp custom inserters never have their EFLAGS clobber
read, so set the dead flag where the instructions are built.

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