[all-commits] [llvm/llvm-project] 6a8a56: [AArch64] Precommit tests for PR71917

Allen via All-commits all-commits at lists.llvm.org
Mon Dec 4 17:03:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a8a5629a6042da602fbc586c8b41137cdd2f053
      https://github.com/llvm/llvm-project/commit/6a8a5629a6042da602fbc586c8b41137cdd2f053
  Author: zhongyunde 00443407 <zhongyunde at huawei.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M llvm/test/CodeGen/AArch64/arm64-addrmode.ll

  Log Message:
  -----------
  [AArch64] Precommit tests for PR71917


  Commit: d6f4d5209ffcdc6d8e33a14fe8df70283b768f45
      https://github.com/llvm/llvm-project/commit/d6f4d5209ffcdc6d8e33a14fe8df70283b768f45
  Author: zhongyunde 00443407 <zhongyunde at huawei.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/test/CodeGen/AArch64/arm64-addrmode.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/large-offset-gep.ll

  Log Message:
  -----------
  [CGP][AArch64] Rebase the common base offset for better ISel

When all the large const offsets masked with the same value from bit-12 to bit-23.
Fold
  add     x8, x0, #2031, lsl #12
  add     x8, x8, #960
  ldr     x9, [x8, x8]
  ldr     x8, [x8, #2056]

into
  add     x8, x0, #2031, lsl #12
  ldr     x9, [x8, #960]
  ldr     x8, [x8, #3016]


Compare: https://github.com/llvm/llvm-project/compare/961d943e396f...d6f4d5209ffc


More information about the All-commits mailing list