[all-commits] [llvm/llvm-project] fac7c7: [SLP] Fix vector element size for the store chains

Anton Afanasyev via All-commits all-commits at lists.llvm.org
Mon Dec 14 04:54:13 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fac7c7ec3ccd64d19b6d33af0a8bc2f3f7f7b047
      https://github.com/llvm/llvm-project/commit/fac7c7ec3ccd64d19b6d33af0a8bc2f3f7f7b047
  Author: Anton Afanasyev <anton.a.afanasyev at gmail.com>
  Date:   2020-12-14 (Mon, 14 Dec 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/combined-stores-chains.ll

  Log Message:
  -----------
  [SLP] Fix vector element size for the store chains

Vector element size could be different for different store chains.
This patch prevents wrong computation of maximum number of elements
for that case.

Differential Revision: https://reviews.llvm.org/D93192




More information about the All-commits mailing list