It is possible to merge reuse and reorder shuffles and reduce the total
cost of the vectorization tree/number of final instructions.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | ||
---|---|---|
4349 | I did not find any. Could you point me where should I look for something similar? |
LG after addressing all comments.
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | ||
---|---|---|
3511 | May be just something like "CommonCost"? The "dead" part of cost is used at the end only. | |
4294 | This phrase "Before this patch..." looks misplaced here, inside comment. May be move it to summary? | |
4349 | Didn't find them as well... |
Let's describe dead cost here.