[all-commits] [llvm/llvm-project] b868a2: [SLPVectorizer] Fix crash in vectorizeChainsInBloc...

CarolineConcatto via All-commits all-commits at lists.llvm.org
Mon Jul 5 04:46:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b868a2d2c69c20ba0f906354986354b84540e6c0
      https://github.com/llvm/llvm-project/commit/b868a2d2c69c20ba0f906354986354b84540e6c0
  Author: Caroline Concatto <caroline.concatto at arm.com>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/scalable-vector.ll

  Log Message:
  -----------
  [SLPVectorizer] Fix crash in vectorizeChainsInBlock for scalable vector.

The function vectorizeChainsInBlock does not support scalable vector,
because function like canReuseExtract and isCommutative in the code
path assert with scalable vectors.

This patch avoids vectorizing blocks that have extract instructions with scalable
vector..

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




More information about the All-commits mailing list