[all-commits] [llvm/llvm-project] 70cf58: [SLP][REVEC] Make SLP vectorize shufflevector. (#1...

Han-Kuan Chen via All-commits all-commits at lists.llvm.org
Mon Aug 12 20:19:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70cf58e6c193a63f66028ae340a30c9dc181f460
      https://github.com/llvm/llvm-project/commit/70cf58e6c193a63f66028ae340a30c9dc181f460
  Author: Han-Kuan Chen <hankuan.chen at sifive.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/revec-shufflevector.ll

  Log Message:
  -----------
  [SLP][REVEC] Make SLP vectorize shufflevector. (#102489)

Add getShufflevectorNumGroups to vectorize shufflevector.

Current getShufflevectorNumGroups can only vectorize limited pattern
(e.g., the masks of shufflevector use the elements of the source in
order).

In addition, ReuseShuffleIndices and ReorderIndices are not supported.



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