[all-commits] [llvm/llvm-project] 59ff9d: [SLP]Fix PR61554: use of missing vectorized value ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Mar 20 12:07:54 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59ff9d3777701ebbe6a59ab2edb8792ef3d2873f
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/reused-buildvector-matching-vectorized-node.ll

  Log Message:
  [SLP]Fix PR61554: use of missing vectorized value in buildvector nodes.

If the buildvector node matches the vector node, it reuse the vector
value from this vector node, but its VectorizedValue field is not
updated. Need to update this field to avoid misses during the analysis
of the reused gather/buildvector nodes.

More information about the All-commits mailing list