[all-commits] [llvm/llvm-project] 72fb4b: AArch64: Don't duplicate the branch's implicit def...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Sep 21 04:27:15 PDT 2026


  Branch: refs/heads/users/arsenm/aarch64/pseduo-expand-avoid-duplicate-lr-defs
  Home:   https://github.com/llvm/llvm-project
  Commit: 72fb4b9fee5877305370e449d77f5dd94638f2d7
      https://github.com/llvm/llvm-project/commit/72fb4b9fee5877305370e449d77f5dd94638f2d7
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
    M llvm/test/CodeGen/AArch64/blr-bti-preserves-operands.mir
    M llvm/test/CodeGen/AArch64/expand-blr-rvmarker-pseudo.mir
    M llvm/test/CodeGen/AArch64/kcfi-bti.ll

  Log Message:
  -----------
  AArch64: Don't duplicate the branch's implicit defs in call pseudo expansion

These pseudo expansions started with an implicit LR def and are replaced with a
new instruction with a different LR def. Previously this would copy the old
instruction's operand list, merging with the newly build instruction def list.
Avoid creating a redundant def with inconsistent dead flags. This avoids failing
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