[PATCH] D99677: [SLP]Improve and fix getVectorElementSize.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 31 12:40:06 PDT 2021
ABataev created this revision.
ABataev added reviewers: RKSimon, spatel, dtemirbulatov, anton-afanasyev.
Herald added a subscriber: hiraditya.
ABataev requested review of this revision.
Herald added a project: LLVM.
1. Need to cleanup InstrElementSize map for each new tree, otherwise might
use sizes from the previous run of the vectorization attempt.
2. No need to include into analysis the instructions from the different basic blocks to save compile time.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99677
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll
llvm/test/Transforms/SLPVectorizer/X86/inst_size_bug.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99677.334510.patch
Type: text/x-patch
Size: 8892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210331/439f9372/attachment.bin>
More information about the llvm-commits
mailing list