[all-commits] [llvm/llvm-project] 6fdc2c: [SLP]Fix PR77916: transform the whole mask, not on...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Jan 12 07:10:38 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fdc2ce8c507d3acf4e4b65beb66cfed68045588
      https://github.com/llvm/llvm-project/commit/6fdc2ce8c507d3acf4e4b65beb66cfed68045588
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-01-12 (Fri, 12 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/shuffle-mask-resized.ll

  Log Message:
  -----------
  [SLP]Fix PR77916: transform the whole mask, not only the elements for
the second vector.

Need to transform all elements in the long mask, if we decided to
produce shorter version, some elements may still have incorrect inifices
after transformation for the first vector in the permutation.




More information about the All-commits mailing list