[PATCH] D133430: [SLP] Unify main/alternate instruction logic for CmpInst instructions - draft

Valeriy Dmitriev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 7 09:10:16 PDT 2022


vdmitrie created this revision.
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.

Refactoring patch intended to make alternate vectorization logic for CmpInst consistent across  SLP vectorizer.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133430

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-logical.ll
  llvm/test/Transforms/SLPVectorizer/X86/alternate-cmp-swapped-pred.ll
  llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133430.458473.patch
Type: text/x-patch
Size: 18744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220907/5f93e932/attachment-0001.bin>


More information about the llvm-commits mailing list