[all-commits] [llvm/llvm-project] 874c49: [SLP]Fix PR61395: need to adjust vector factor aft...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Mar 14 06:30:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 874c49f55454cb285282e6d184f809945c0beca1
      https://github.com/llvm/llvm-project/commit/874c49f55454cb285282e6d184f809945c0beca1
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/entries-different-vf.ll

  Log Message:
  -----------
  [SLP]Fix PR61395: need to adjust vector factor after emitting shuffle
operation for combined entries.

The vector factor after combining of the shuffle entries is defined by
the size of the mask, not by the vector factors  of the original
entries. So, need to adjust it to emit correct code.




More information about the All-commits mailing list