[all-commits] [llvm/llvm-project] cce80b: [SLP]Adjust assertion check for scalars in several...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Mon May 9 13:29:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cce80bd8b74d54deb82b1b6ae0cbec1ab53c1dbb
      https://github.com/llvm/llvm-project/commit/cce80bd8b74d54deb82b1b6ae0cbec1ab53c1dbb
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

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

  Log Message:
  -----------
  [SLP]Adjust assertion check for scalars in several insertelements.

If the same scalar is inserted several times into the same buildvector,
the mask index can be used already. In this case need to check, that
this scalar is already part of the vectorized buildvector.




More information about the All-commits mailing list