diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-29 16:08:52 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-29 16:08:52 +0000 |
commit | 9c5c103283a9992048c81c8311aa71d94d78403e (patch) | |
tree | 209641837de2ae61cb86be47719475619b0aeacb /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 10f5c9e765a86815d1baf3df93aa7a65ec500fc9 (diff) | |
download | llvm-9c5c103283a9992048c81c8311aa71d94d78403e.zip llvm-9c5c103283a9992048c81c8311aa71d94d78403e.tar.gz llvm-9c5c103283a9992048c81c8311aa71d94d78403e.tar.bz2 |
[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: 323662
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions