[llvm] [SLPVectorizer][AMDGPU] Look-through vectorization of AMDGPU intrinsics (PR #175821)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 1 04:11:30 PDT 2026


alexey-bataev wrote:

> > 3. `<user subtree>` is profitable, `<operand subtree>` is not profitable for the vectorization.I don't understand if mix the user subtree and operand subtree, the answer can also be not profitable or profitable. I can't understand broke the tree to consider is better.

3rd case can be handled by the tree trimming (throttling), but it affects compile time. That's another reason why the 2-independent-trees approach is better.

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


More information about the llvm-commits mailing list