[all-commits] [llvm/llvm-project] 5abdce: [LLVM][AArch64InstrInfo] Prevent fill folding when...

Paul Walker via All-commits all-commits at lists.llvm.org
Wed Jul 16 05:20:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5abdce4083ed37203e4893f8f7ef3890586b008a
      https://github.com/llvm/llvm-project/commit/5abdce4083ed37203e4893f8f7ef3890586b008a
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2025-07-16 (Wed, 16 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/test/CodeGen/AArch64/spill-fold.mir

  Log Message:
  -----------
  [LLVM][AArch64InstrInfo] Prevent fill folding when DstReg is SP. (#148885)

We can remove subreg COPY instructions by filling directly into the
COPY's destination register. However, this is only valid when the copy
and fill have compatible register classes.

Fixes https://github.com/llvm/llvm-project/issues/148659



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