[all-commits] [llvm/llvm-project] b5d91a: [SLP]Fix PR58863: Mask index beyond mask size for ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Nov 8 08:05:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5d91ab73e8c2702bddc5994538129ba267ed5fe
      https://github.com/llvm/llvm-project/commit/b5d91ab73e8c2702bddc5994538129ba267ed5fe
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/slp-non-pow-2-insertelement.ll

  Log Message:
  -----------
  [SLP]Fix PR58863: Mask index beyond mask size for non-power-2 insertelement analysis.

Need to check if the insertelement mask size is reached during cost analysis to avoid compiler crash.

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




More information about the All-commits mailing list