[PATCH] D59784: [SLPVectorizer] Merge reorderAltShuffleOperands into reorderInputsAccordingToOpcode

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 11:00:23 PDT 2019


RKSimon created this revision.
RKSimon added reviewers: ABataev, dtemirbulatov.
Herald added a project: LLVM.

As discussed on D59738 <https://reviews.llvm.org/D59738>, this generalizes reorderInputsAccordingToOpcode to handle multiple + non-commutative instructions so we can get rid of reorderAltShuffleOperands and make use of the extra canonicalizations that reorderInputsAccordingToOpcode brings.


Repository:
  rL LLVM

https://reviews.llvm.org/D59784

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/PR39774.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59784.192154.patch
Type: text/x-patch
Size: 8734 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190325/cfbd565c/attachment.bin>


More information about the llvm-commits mailing list