[all-commits] [llvm/llvm-project] 34a505: ARM: Don't duplicate the LR def when expanding cal...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Sep 22 02:05:04 PDT 2026


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

  Changed paths:
    M llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
    M llvm/test/CodeGen/ARM/cmse-vlldm-no-reorder.mir

  Log Message:
  -----------
  ARM: Don't duplicate the LR def when expanding call pseudos (#225062)

Several pseudo expansions in ARMExpandPseudoInsts built a real call and then 
copied the pseudo's operands onto the new instruction. Each of these call opcodes 
declares LR as an implicit-def, but the original instruction already had that. The original 
def may have been marked as dead, so the result would be a redundant operand with an 
inconsistent dead flag. This avoids a failure in a future verifier check.

Co-authored-by: Claude (Claude-Opus-4.8) <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