[all-commits] [llvm/llvm-project] c03696: [SLP]Improve and fix getVectorElementSize.
cilkplus via All-commits
all-commits at lists.llvm.org
Thu Apr 1 07:04:21 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c03696da5e13d355775dd4382957b3dcd3c3ad7c
https://github.com/llvm/llvm-project/commit/c03696da5e13d355775dd4382957b3dcd3c3ad7c
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2021-04-01 (Thu, 01 Apr 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll
M llvm/test/Transforms/SLPVectorizer/X86/inst_size_bug.ll
Log Message:
-----------
[SLP]Improve and fix getVectorElementSize.
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.
Differential Revision: https://reviews.llvm.org/D99677
More information about the All-commits
mailing list