[all-commits] [llvm/llvm-project] 8d307f: [SLP]Fix PR69246: do not treat resizing maskas ide...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Oct 24 08:18:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d307f59eed3ab6de688a555b0c6720fd8f18d10
      https://github.com/llvm/llvm-project/commit/8d307f59eed3ab6de688a555b0c6720fd8f18d10
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-10-24 (Tue, 24 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/extract-with-undefs-shuffle.ll

  Log Message:
  -----------
  [SLP]Fix PR69246: do not treat resizing maskas identity.

If the mask is resizing and the mask size is greater than than the
length of the vector, being reused from extractelement instructions, the
mask for undefs cannot be treated as identity, must be treated as
a broadcast.




More information about the All-commits mailing list