llvm-project/llvm/lib/Transforms/Vectorize
Alexey Bataev 4bd8e5332f [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: 323348
2018-01-24 17:50:53 +00:00
..
CMakeLists.txt [LV] Fix PR34248 - recommit D32871 after revert r311304 2017-08-27 12:55:46 +00:00
LLVMBuild.txt
LoadStoreVectorizer.cpp Add explanatory comment to LoadStoreVectorizer. 2018-01-10 03:02:12 +00:00
LoopVectorizationPlanner.h [LV][VPlan] NFC patch to move LoopVectorizationPlanner class out of LoopVectorize.cpp 2018-01-07 16:02:58 +00:00
LoopVectorize.cpp [LV] Don't call recordVectorLoopValueForInductionCast for newly-created IV from a trunc. 2018-01-15 10:56:07 +00:00
SLPVectorizer.cpp [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle. 2018-01-24 17:50:53 +00:00
VPlan.cpp [LV] NFC patch for moving VP*Recipe class definitions from LoopVectorize.cpp to VPlan.h 2017-12-16 01:12:50 +00:00
VPlan.h [LV][VPlan] NFC patch to move LoopVectorizationPlanner class out of LoopVectorize.cpp 2018-01-07 16:02:58 +00:00
VPlanValue.h [LV] Model masking in VPlan, introducing VPInstructions 2017-11-20 12:01:47 +00:00
Vectorize.cpp Remove redundant includes from lib/Transforms. 2017-12-13 21:31:01 +00:00