diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-23 19:30:26 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-23 19:30:26 +0000 |
commit | 6719e2418c1d8fc20a6a6b6a0540281736b591d6 (patch) | |
tree | fb1d9c56e90e6f1c5544e88ab088a5fac110c3da /clang/lib/CodeGen/CGObjCMac.cpp | |
parent | 4a190fe62f58eeaa9b996665e27b4d8898b140a7 (diff) | |
download | bcm5719-llvm-6719e2418c1d8fc20a6a6b6a0540281736b591d6.tar.gz bcm5719-llvm-6719e2418c1d8fc20a6a6b6a0540281736b591d6.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: 323246
Diffstat (limited to 'clang/lib/CodeGen/CGObjCMac.cpp')
0 files changed, 0 insertions, 0 deletions