aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-01-29 16:08:52 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-01-29 16:08:52 +0000
commit9c5c103283a9992048c81c8311aa71d94d78403e (patch)
tree209641837de2ae61cb86be47719475619b0aeacb /llvm/lib/Object/ELFObjectFile.cpp
parent10f5c9e765a86815d1baf3df93aa7a65ec500fc9 (diff)
downloadllvm-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