[all-commits] [llvm/llvm-project] 4edb3d: [AArch64] Avoid pairing loads with same result reg

Danilo Carvalho Grael via All-commits all-commits at lists.llvm.org
Tue Sep 22 13:26:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4edb3d3646c46f15ca93bf19ed96a9169143ed6d
      https://github.com/llvm/llvm-project/commit/4edb3d3646c46f15ca93bf19ed96a9169143ed6d
  Author: Congzhe Cao <congzhe.cao@@huawei.com>
  Date:   2020-09-22 (Tue, 22 Sep 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
    A llvm/test/CodeGen/AArch64/aarch64-ldst-subsuperReg-no-ldp.mir

  Log Message:
  -----------
  [AArch64] Avoid pairing loads with same result reg

When pairing ldr instructions to an ldp instruction, we cannot pair two ldr
destination registers where one is a sub or super register of the other.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D86906




More information about the All-commits mailing list