[all-commits] [llvm/llvm-project] 6d877e: [AArch64][SVE][CodeGen] Prefer ld1r* over indexed-...

Peter Waller via All-commits all-commits at lists.llvm.org
Wed Dec 21 06:24:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d877e6717ee648ba9371445aa3c9e304105dfa2
      https://github.com/llvm/llvm-project/commit/6d877e6717ee648ba9371445aa3c9e304105dfa2
  Author: Peter Waller <peter.waller at arm.com>
  Date:   2022-12-21 (Wed, 21 Dec 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/test/CodeGen/AArch64/sve-ld1r.ll

  Log Message:
  -----------
  [AArch64][SVE][CodeGen] Prefer ld1r* over indexed-load when consumed by a splat

If a load is consumed by a single splat, don't consider indexed loads.

This is an alternative implementation to D138581.

Depends on D139637.

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




More information about the All-commits mailing list