llvm-project/llvm/lib/Transforms
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
..
Coroutines Make internal/private GVs implicitly dso_local. 2018-01-11 22:15:05 +00:00
Hello Add auto-exporting of symbols from tools so that plugins work on Windows 2016-05-26 11:16:43 +00:00
IPO Reverted 323321. 2018-01-24 14:48:49 +00:00
InstCombine [InstCombine] (X << Y) / X -> 1 << Y 2018-01-21 16:14:51 +00:00
Instrumentation asan: allow inline instrumentation for the kernel 2018-01-22 19:07:11 +00:00
ObjCARC [ObjCARC] Do not turn a call to @objc_autoreleaseReturnValue into a call 2018-01-19 23:51:13 +00:00
Scalar Reverted 323321. 2018-01-24 14:48:49 +00:00
Utils [NFC] fix trivial typos in comments 2018-01-19 10:55:29 +00:00
Vectorize [SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle. 2018-01-24 17:50:53 +00:00
CMakeLists.txt Reverted 323321. 2018-01-24 14:48:49 +00:00
LLVMBuild.txt Reverted 323321. 2018-01-24 14:48:49 +00:00