[all-commits] [llvm/llvm-project] fcaf29: [SLP]Fix PR52756: SLPVectorizer crashes with asser...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Mon Dec 20 05:40:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fcaf290d0278bb83387e1a1d972c55e08b8c40e3
      https://github.com/llvm/llvm-project/commit/fcaf290d0278bb83387e1a1d972c55e08b8c40e3
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

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

  Log Message:
  -----------
  [SLP]Fix PR52756: SLPVectorizer crashes with assertion VecTy == FinalVecTy.

Need to check for the number of the unique non-constant values since the
unique values may include several constants.

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




More information about the All-commits mailing list