[PATCH] D79078: [VectorCombine] Leave reduction operation to SLP
JunMa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 29 03:11:08 PDT 2020
junparser created this revision.
junparser added reviewers: spatel, RKSimon, lebedev.ri, jgorbe.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
As title, we found that the transformation of vector-combine pass break reduction handle in SLP pass after https://reviews.llvm.org/D75689.
This patch conservatively match reduction pattern and return true in isExtractExtractCheap
TestPlan: check-clang check-llvm
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79078
Files:
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
llvm/test/Transforms/VectorCombine/X86/extract-binop.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79078.260870.patch
Type: text/x-patch
Size: 7094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200429/3db47c88/attachment.bin>
More information about the llvm-commits
mailing list