[all-commits] [llvm/llvm-project] 07130d: Sparc: Mark GETPCX scratch %o7 def dead (#227676)

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Sep 30 05:53:30 PDT 2026


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

  Changed paths:
    M llvm/lib/Target/Sparc/SparcInstrInfo.cpp
    A llvm/test/CodeGen/SPARC/getpcx-dead-o7.ll

  Log Message:
  -----------
  Sparc: Mark GETPCX scratch %o7 def dead (#227676)

The GETPCX expansion uses %o7 only inside the emitted sequence, so the
implicit def is dead. Set the flag when the pseudo is built instead of
leaving it for later recovery.

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