diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-25 16:45:18 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-25 16:45:18 +0000 |
commit | c8cfa14b6dc43922516e4a0e40a5eb6a8672d0d9 (patch) | |
tree | 7049d68ad08fa6b53627694bb6ffb4d7c4be00db /llvm/lib/Transforms/Vectorize/VPlan.cpp | |
parent | 667ffcf15305c53dde809af92bf68caed2e3e41e (diff) | |
download | bcm5719-llvm-c8cfa14b6dc43922516e4a0e40a5eb6a8672d0d9.tar.gz bcm5719-llvm-c8cfa14b6dc43922516e4a0e40a5eb6a8672d0d9.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: 323441
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/VPlan.cpp')
0 files changed, 0 insertions, 0 deletions