aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-02-12 14:54:48 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-02-12 14:54:48 +0000
commitca2396e6732dfab06cf96a475520b9266852277a (patch)
treef34adcf3ab160c87ae32ee3d76bb7413046c7215 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent426991730495a6666a7ff8d085d40e3b8626ca3b (diff)
downloadllvm-ca2396e6732dfab06cf96a475520b9266852277a.zip
llvm-ca2396e6732dfab06cf96a475520b9266852277a.tar.gz
llvm-ca2396e6732dfab06cf96a475520b9266852277a.tar.bz2
[SLP] Take user instructions cost into consideration in insertelement vectorization.
Summary: For better vectorization result we should take into consideration the cost of the user insertelement instructions when we try to vectorize sequences that build the whole vector. I.e. if we have the following scalar code: ``` <Scalar code> insertelement <ScalarCode>, ... ``` we should consider the cost of the last `insertelement ` instructions as the cost of the scalar code. Reviewers: RKSimon, spatel, hfinkel, mkuper Subscribers: javed.absar, llvm-commits Differential Revision: https://reviews.llvm.org/D42657 llvm-svn: 324893
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions