[all-commits] [llvm/llvm-project] 6f13fe: [SLP] Allow non-power-of-2 VF in tryToVectorizeLis...
Harrison Hao via All-commits
all-commits at lists.llvm.org
Fri Aug 7 16:03:27 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f13fe0710f09dc98772b9ab74f909984a5f6a35
https://github.com/llvm/llvm-project/commit/6f13fe0710f09dc98772b9ab74f909984a5f6a35
Author: Harrison Hao <57025411+harrisonGPU at users.noreply.github.com>
Date: 2026-08-08 (Sat, 08 Aug 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/odd_store.ll
M llvm/test/Transforms/SLPVectorizer/non-power-of-2-buildvector.ll
Log Message:
-----------
[SLP] Allow non-power-of-2 VF in tryToVectorizeList (#206259)
Non-power-of-2 VF support (-slp-vectorize-non-power-of-2) was wired into
the `load/store/reduction` paths but not into `tryToVectorizeList`, so
`buildvector/insertelement` seeds like <15 x half> were split into
power-of-2 pieces instead of a single vector op.
Consult `isAllowedNonPowerOf2VF()` when computing `MaxVF` and in the
inner
full-vector guard so supported widths are tried. No change unless
`-slp-vectorize-non-power-of-2` is enabled.
https://godbolt.org/z/1b8GebPEW
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list