diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-24 17:50:53 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-24 17:50:53 +0000 |
commit | 4bd8e5332fa5e697bec7ce2cc6642b9708e36e46 (patch) | |
tree | 97c530d3db7577c85395faf3c707660b7611a50d /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | abdcc613b6f7a8ff4463f3adc19cc9cc46e91d23 (diff) | |
download | bcm5719-llvm-4bd8e5332fa5e697bec7ce2cc6642b9708e36e46.tar.gz bcm5719-llvm-4bd8e5332fa5e697bec7ce2cc6642b9708e36e46.zip |
[SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle.
Summary:
If the same value is going to be vectorized several times in the same
tree entry, this entry is considered to be a gather entry and cost of
this gather is counter as cost of InsertElementInstrs for each gathered
value. But we can consider these elements as ShuffleInstr with
SK_PermuteSingle shuffle kind.
Reviewers: spatel, RKSimon, mkuper, hfinkel
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D38697
llvm-svn: 323348
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions