[llvm] Changed default value of slp-max-vf to 192 (PR #70479)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 07:52:28 PST 2023


alexey-bataev wrote:

I have a fix for this problem, hope to commit it later today after thorough testing. There are 2 problems, which can be easily fixed: 1. Better to use SmallBitVector instead of SmallSet. 2. Some particular trees, consisting only of phis and buildvector/gather nodes, can be dropped early as non-vectorizable in many cases.

Fixed opt results
time opt -passes=slp-vectorizer repro.ll -disable-output                                          opt -passes=slp-vectorizer repro.ll   11.06s user 0.17s system 99% cpu 11.276 total

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


More information about the llvm-commits mailing list