diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-25 15:01:36 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-25 15:01:36 +0000 |
commit | ad51fe364429ef83012aa0ea66dd53ae722acfb1 (patch) | |
tree | cd192f1a221e9bf86a651384392d84ed9ec7a2fd /clang-tools-extra/clang-tidy/cppcoreguidelines/NoMallocCheck.cpp | |
parent | fb01d06669a0ea0958377d166070027583e6e286 (diff) | |
download | bcm5719-llvm-ad51fe364429ef83012aa0ea66dd53ae722acfb1.tar.gz bcm5719-llvm-ad51fe364429ef83012aa0ea66dd53ae722acfb1.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: 323430
Diffstat (limited to 'clang-tools-extra/clang-tidy/cppcoreguidelines/NoMallocCheck.cpp')
0 files changed, 0 insertions, 0 deletions