summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjCMac.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-01-23 19:30:26 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-01-23 19:30:26 +0000
commit6719e2418c1d8fc20a6a6b6a0540281736b591d6 (patch)
treefb1d9c56e90e6f1c5544e88ab088a5fac110c3da /clang/lib/CodeGen/CGObjCMac.cpp
parent4a190fe62f58eeaa9b996665e27b4d8898b140a7 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud