[all-commits] [llvm/llvm-project] 1387a1: [SLP] Check with target before vectorizing GEP Ind...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Thu Feb 23 06:32:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1387a13e1d0bac94457626ef3e7427c84caf6e65
      https://github.com/llvm/llvm-project/commit/1387a13e1d0bac94457626ef3e7427c84caf6e65
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/gather-reduce.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr.ll
    A llvm/test/Transforms/SLPVectorizer/SystemZ/gep-indices.ll
    M llvm/test/Transforms/SLPVectorizer/X86/load-merge-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/X86/load-merge.ll
    M llvm/test/Transforms/SLPVectorizer/X86/minimum-sizes.ll
    M llvm/test/Transforms/SLPVectorizer/X86/opaque-ptr.ll
    M llvm/test/Transforms/SLPVectorizer/X86/partail.ll

  Log Message:
  -----------
  [SLP] Check with target before vectorizing GEP Indices.

The target hook prefersVectorizedAddressing() already exists to check with
target if address computations should be vectorized, so it seems like this
should be used in SLPVectorizer as well.

Reviewed By: ABataev, RKSimon

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




More information about the All-commits mailing list