[PATCH] D115811: [SLP]Early exit out of the reordering if shuffled/perfect diamond match found.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 15 11:09:49 PST 2021


ABataev created this revision.
ABataev added reviewers: RKSimon, vporpo, anton-afanasyev, dtemirbulatov.
Herald added a subscriber: hiraditya.
ABataev requested review of this revision.
Herald added a project: LLVM.

Need to early exit out of the reordering process if the perfect/shuffled match is found in the operands. Such pattern will result in not profitable reordering because of (false positive) external use of scalars.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115811

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115811.394611.patch
Type: text/x-patch
Size: 7724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211215/bce08ee9/attachment.bin>


More information about the llvm-commits mailing list