[all-commits] [llvm/llvm-project] 52e5a7: [AArch64] Remove redundant COPY from loadRegFromSt...

Sander de Smalen via All-commits all-commits at lists.llvm.org
Mon Sep 9 23:22:49 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 52e5a72e9200667e8a62436268fdaff4411f7216
      https://github.com/llvm/llvm-project/commit/52e5a72e9200667e8a62436268fdaff4411f7216
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

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

  Log Message:
  -----------
  [AArch64] Remove redundant COPY from loadRegFromStackSlot (#107396)

This removes a redundant 'COPY' instruction that #81716 probably forgot
to remove.

This redundant COPY led to an issue because because code in
LiveRangeSplitting expects that the instruction emitted by
`loadRegFromStackSlot` is an instruction that accesses memory, which
isn't the case for the COPY instruction.

(cherry picked from commit 91a3c6f3d66b866bcda8a0f7d4815bc8f2dbd86c)



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