[all-commits] [llvm/llvm-project] 7db87a: [SLP]Fix PR66795: Check correct deps for vectorize...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Sep 19 12:12:02 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7db87a66b0206af027724fc1704e5e5ce7772a45
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/multi-node-vectorized-insts.ll

  Log Message:
  [SLP]Fix PR66795: Check correct deps for vectorized inst with multiple
vectorized node uses.

If the instruction is vectorized in many different vector nodes, it may
break the dependency analysis for gathered nodes with matched scalars.
Need to properly check the dependency between such gather nodes to avoid
cycle dependency.

More information about the All-commits mailing list