[all-commits] [llvm/llvm-project] 925512: [SLP]Fix a crash when trying to shuffle multiple n...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Mar 30 09:37:10 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9255124a0713f1fe57e553c4266380a7087a61c6
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-03-30 (Thu, 30 Mar 2023)

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

  Log Message:
  [SLP]Fix a crash when trying to shuffle multiple nodes.

Need to transform mask after applying shuffle using the mask itself as
a base to correctly mark with identity those indices, actually used in
previous shuffle. Allows to fix a crash, if different sized vectors are

More information about the All-commits mailing list