[all-commits] [llvm/llvm-project] 957036: [SLP]Fix PR72202: wrong mask emission for the firs...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Nov 16 07:04:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 95703642e3ef617275fd80b5316b05c5a09c6219
      https://github.com/llvm/llvm-project/commit/95703642e3ef617275fd80b5316b05c5a09c6219
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

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

  Log Message:
  -----------
  [SLP]Fix PR72202: wrong mask emission for the first found vector
operand.

Need to copy the submask not to the very first part of the common
extractelements vector mask, but to the proper one to avoid wrong code
emission.




More information about the All-commits mailing list