This is new functionality that allows duplicate(reuse) scalars existing instruction in multiple times in vector operations. This change is a part of D28907.
Details
Details
Diff Detail
Diff Detail
Event Timeline
test/Transforms/SLPVectorizer/X86/duplicate.ll | ||
---|---|---|
14 | This test case is pretty nasty, can you clean it up at all please? |
Comment Actions
This is quite rare cases when it decide to duplicate after limiting to a maximum number of elements of less than half of vector size and calculating cost of this transformation. Abandoning.
This test case is pretty nasty, can you clean it up at all please?