[all-commits] [llvm/llvm-project] cf3d13: [AArch64] Do not generate ld1IndexPost when insert...

David Green via All-commits all-commits at lists.llvm.org
Fri Jun 27 04:47:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf3d136c225361c9a3d1488cd285c784fd6a2a92
      https://github.com/llvm/llvm-project/commit/cf3d136c225361c9a3d1488cd285c784fd6a2a92
  Author: David Green <david.green at arm.com>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll

  Log Message:
  -----------
  [AArch64] Do not generate ld1IndexPost when inserting into lane 0 of a zero vector (#145723)

If we are inserting into lane 0 of a zero vector, we can use the ldr
instructions to get the upper-lane zero for free. Do not attempt to make
post-inc operations in that case, which should be less micro-ops
overall.



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