[llvm] [SLP] no need to generate extract for in-tree uses for original scala… (PR #76077)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 09:45:15 PST 2023


alexey-bataev wrote:

That does not look correct, since it excludes these extracts from the cost estimation model. What I would suggest instead is to fix this check and remove 
https://github.com/llvm/llvm-project/blob/main/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp#L11497-L11506
https://github.com/llvm/llvm-project/blob/main/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp#L11542-L11551
https://github.com/llvm/llvm-project/blob/main/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp#L11657-L11667

extracts.

https://github.com/llvm/llvm-project/pull/76077


More information about the llvm-commits mailing list