[PATCH] D59973: [SLP] Refactoring of the operand reordering code.

Vasileios Porpodas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 18:22:52 PDT 2019


vporpo created this revision.
vporpo added reviewers: RKSimon, ABataev, dtemirbulatov, Ayal, hfinkel.
vporpo added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is a refactoring patch which should have all the functionality of the current code. Its goal is twofold:
i. Cleanup and simplify the reordering code, and
ii. Generalize reordering so that it will work for an arbitrary number of operands, not just 2.

This is the second patch in a series of patches that will enable operand reordering across chains of operations. An example of this was presented in EuroLLVM'18 https://www.youtube.com/watch?v=gIEn34LvyNo .


Repository:
  rL LLVM

https://reviews.llvm.org/D59973

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/alternate-int.ll
  test/Transforms/SLPVectorizer/X86/crash_lencod.ll
  test/Transforms/SLPVectorizer/X86/crash_smallpt.ll
  test/Transforms/SLPVectorizer/X86/operandorder.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59973.192753.patch
Type: text/x-patch
Size: 36752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190329/4ab69812/attachment.bin>


More information about the llvm-commits mailing list