[all-commits] [llvm/llvm-project] c2deb2: [SLP]Fix a crash in gathered loads analysis.

cilkplus via All-commits all-commits at lists.llvm.org
Fri Jul 30 05:22:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2deb2afafee991c06cc96dc5beecb6de448b9fc
      https://github.com/llvm/llvm-project/commit/c2deb2afafee991c06cc96dc5beecb6de448b9fc
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/AArch64/gather-load-min-required-vf-2.ll

  Log Message:
  -----------
  [SLP]Fix a crash in gathered loads analysis.

Need to check that the minimum acceptable vector factor is at least 2,
not 0, to avoid compiler crash during gathered loads analysis.

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




More information about the All-commits mailing list