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
Event Timeline
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | ||
---|---|---|
4354 | 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 | ||
---|---|---|
3516 | May be just something like "CommonCost"? The "dead" part of cost is used at the end only. | |
4299 | This phrase "Before this patch..." looks misplaced here, inside comment. May be move it to summary? | |
4354 | Didn't find them as well... |
Let's describe dead cost here.