[all-commits] [llvm/llvm-project] bcfc9f: [SLP][REVEC] VectorValuesAndScales should be suppo...

Han-Kuan Chen via All-commits all-commits at lists.llvm.org
Tue Apr 15 08:04:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcfc9f452983f9b0b14f2cda8f4d212a0821c972
      https://github.com/llvm/llvm-project/commit/bcfc9f452983f9b0b14f2cda8f4d212a0821c972
  Author: Han-Kuan Chen <hankuan.chen at sifive.com>
  Date:   2025-04-15 (Tue, 15 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/SystemZ/revec-fix-128169.ll
    A llvm/test/Transforms/SLPVectorizer/X86/revec-reduced-value-vectorized-later.ll

  Log Message:
  -----------
  [SLP][REVEC] VectorValuesAndScales should be supported by REVEC. (#135762)

We should align REVEC with the SLP algorithm as closely as possible. For
example, by applying REVEC-specific handling when calling IRBuilder's
Create methods, performing cost analysis via TTI, and expanding shuffle
masks using transformScalarShuffleIndicesToVector.

reference commit: 3b18d47ecbaba4e519ebf0d1bc134a404a56a9da



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