[all-commits] [llvm/llvm-project] 9f9fda: [SLP]Fix PR58766: deleted value used after vectori...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Nov 16 11:01:24 PST 2022


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/reduced-gathered-vectorized.ll

  Log Message:
  -----------
  [SLP]Fix PR58766: deleted value used after vectorization.

If same instruction is reduced several times, but in one graph is part
of buildvector sequence and in another it is vectorized, we may loose
information that it was part of buildvector and must be extracted from
later vectorized value.




More information about the All-commits mailing list