[all-commits] [llvm/llvm-project] d79fdb: [SLP]Fix PR78236: correctly track external values, ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Jan 16 06:55:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d79fdb2749b26d1d6801a85090fa36a66a56036f
      https://github.com/llvm/llvm-project/commit/d79fdb2749b26d1d6801a85090fa36a66a56036f
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-01-16 (Tue, 16 Jan 2024)

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

  Log Message:
  -----------
  [SLP]Fix PR78236: correctly track external values, replaced several
times during reduction vectorization.

If the external value was replaced in the vectorizer several times during reduction vectorization, need to find the original value to correctly handle external uses and emit extractelement instructions properly.




More information about the All-commits mailing list