[PATCH] D48488: [SLPVectorizer] Support alternate opcodes in tryToVectorizeList

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 22 08:09:32 PDT 2018


RKSimon created this revision.
RKSimon added reviewers: ABataev, dtemirbulatov, spatel, fhahn, javed.absar.

Enable tryToVectorizeList to support InstructionsState alternate opcode patterns at a root (build vector etc.) as well as further down the vectorization tree.

This patch currently reduces some of the debug reporting if there are opcode mismatches - is this something I need to address? It could get rather messy trying to provide equivalent verbose debug strings via getSameOpcode etc.


Repository:
  rL LLVM

https://reviews.llvm.org/D48488

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/alternate-fp.ll
  test/Transforms/SLPVectorizer/X86/alternate-int.ll
  test/Transforms/SLPVectorizer/X86/remark_not_all_parts.ll
  test/Transforms/SLPVectorizer/X86/resched.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48488.152481.patch
Type: text/x-patch
Size: 66242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180622/837e4199/attachment-0001.bin>


More information about the llvm-commits mailing list