[all-commits] [llvm/llvm-project] 6e3465: [AArch64] Fix ldp rename through a bundle (#146415)

David Green via All-commits all-commits at lists.llvm.org
Tue Jul 1 07:45:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e3465cd0f2313867f8d07bd4d11d4e133ac0990
      https://github.com/llvm/llvm-project/commit/6e3465cd0f2313867f8d07bd4d11d4e133ac0990
  Author: David Green <david.green at arm.com>
  Date:   2025-07-01 (Tue, 01 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
    M llvm/test/CodeGen/AArch64/stp-opt-with-renaming.mir

  Log Message:
  -----------
  [AArch64] Fix ldp rename through a bundle (#146415)

std::prev(Paired) will get the previous instruction, that might skip
over the instructions in a bundle to the BUNDLE itself. Change it to
Paired->getPrevNode() to make sure we update the registers in each
instruction in the bundle.



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