[all-commits] [llvm/llvm-project] 8472eb: [AArch64LoadStoreOpt] BaseReg update is searched a...

Sergey Shcherbinin via All-commits all-commits at lists.llvm.org
Fri Jul 11 03:06:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8472eb1361bbabd6428a65da446618503e439743
      https://github.com/llvm/llvm-project/commit/8472eb1361bbabd6428a65da446618503e439743
  Author: Sergey Shcherbinin <sscherbinin at nvidia.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
    A llvm/test/CodeGen/AArch64/ldst_update_cfpath.mir
    M llvm/test/Transforms/LoopStrengthReduce/AArch64/pr53625.ll

  Log Message:
  -----------
  [AArch64LoadStoreOpt] BaseReg update is searched also in CF successor (#145583)

Look for reg update instruction (to merge w/ mem instruction into
pre/post-increment form) not only inside a single MBB but also along a
CF path going downward w/o side enters such that BaseReg is alive along
it but not at its exits.

Regression test is updated accordingly.



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