[all-commits] [llvm/llvm-project] 1f54ef: [AArch64] Only clear kill flags if necessary when ...

Zhaoxuan Jiang via All-commits all-commits at lists.llvm.org
Thu Nov 2 17:03:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f54ef78d57b374dbc86a76419b0ced5162c5bdc
      https://github.com/llvm/llvm-project/commit/1f54ef78d57b374dbc86a76419b0ced5162c5bdc
  Author: Zhaoxuan Jiang <jiangzhaoxuan94 at gmail.com>
  Date:   2023-11-02 (Thu, 02 Nov 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
    M llvm/test/CodeGen/AArch64/irg-nomem.mir
    M llvm/test/CodeGen/AArch64/ldrpre-ldr-merge.mir
    M llvm/test/CodeGen/AArch64/ldst-opt-aa.mir
    M llvm/test/CodeGen/AArch64/stp-opt-with-renaming-debug.mir
    M llvm/test/CodeGen/AArch64/sve-fixed-length-fp128.ll
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/aarch64_generated_funcs.ll.generated.expected

  Log Message:
  -----------
  [AArch64] Only clear kill flags if necessary when merging str (#69680)

Previously the kill flags of the source register were unconditionally
cleared when a `str` pair was merged, which results in suboptimal
register allocation and inhibits some renaming opportunities which may
allow further merging `str`.




More information about the All-commits mailing list