[all-commits] [llvm/llvm-project] eb1a51: [AArch64][SVE][InstCombine] last{a, b} of a splat v...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Tue Jul 20 01:49:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb1a5120b8d52ac3c33f404cf4c428c2de5f8a13
      https://github.com/llvm/llvm-project/commit/eb1a5120b8d52ac3c33f404cf4c428c2de5f8a13
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-07-20 (Tue, 20 Jul 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-lasta-lastb.ll

  Log Message:
  -----------
  [AArch64][SVE][InstCombine] last{a,b} of a splat vector

Replace last{a,b}(splat(X)) with X, irrespective of the predicate.

Patch by/Committing on behalf of: Usman Nadeem (mnadeem)

Reviewed By: sdesmalen

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




More information about the All-commits mailing list