[all-commits] [llvm/llvm-project] 221650: [SLP]Fix PR64568: Crash during horizontal reduction.

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Aug 10 07:35:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22165071711a3b4506487212fe7e0fa1fb0ba6a5
      https://github.com/llvm/llvm-project/commit/22165071711a3b4506487212fe7e0fa1fb0ba6a5
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-08-10 (Thu, 10 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/reduce-with-folded-to-consts.ll

  Log Message:
  -----------
  [SLP]Fix PR64568: Crash during horizontal reduction.

If the reduced values is constant-foldable and was folded to a constant
during previous transformations, need to excluded it from the list of
the reduced values-instructions as non-matchable.




More information about the All-commits mailing list