[all-commits] [llvm/llvm-project] 07015e: [SLP]Fix PR59053: trying to erase instruction with...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Nov 17 17:24:39 PST 2022


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/reduction-value-in-tree.ll

  Log Message:
  -----------
  [SLP]Fix PR59053: trying to erase instruction with users.

Need to count the reduced values, vectorized in the tree but not in the top node. Such scalars still must be extracted out of the vector node instead of the original scalar.




More information about the All-commits mailing list