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

Valeriy Dmitriev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 11:07:01 PST 2023


vdmitrie created this revision.
vdmitrie added reviewers: ABataev, RKSimon.
vdmitrie added a project: LLVM.
Herald added subscribers: vporpo, hiraditya.
Herald added a project: All.
vdmitrie requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141309

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141309.487502.patch
Type: text/x-patch
Size: 5899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230109/a3e1d7c5/attachment.bin>


More information about the llvm-commits mailing list