[all-commits] [llvm/llvm-project] fd7273: [SLP] Do not ignore ordering for root node when it...

Valery Dmitriev via All-commits all-commits at lists.llvm.org
Tue Jan 10 10:13:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd7273359a33647b79df93d82a12a3ac6d589348
      https://github.com/llvm/llvm-project/commit/fd7273359a33647b79df93d82a12a3ac6d589348
  Author: Valery N Dmitriev <valery.n.dmitriev at intel.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/reorder-phi-operand.ll

  Log Message:
  -----------
  [SLP] Do not ignore ordering for root node when it has in-tree uses.

When rooted with PHIs, a vectorization tree may have another node with PHIs
which have roots as their operands. We cannot ignore ordering information
for root in such a case.

Differential Revision: https://reviews.llvm.org/D141309




More information about the All-commits mailing list