[all-commits] [llvm/llvm-project] e7f920: [SBVec] Implement topDown/botUp vectorizers in unison
Anshil Gandhi via All-commits
all-commits at lists.llvm.org
Wed Jul 8 20:02:29 PDT 2026
Branch: refs/heads/users/gandhi56/sandbox-vectorizer/topdown-vec
Home: https://github.com/llvm/llvm-project
Commit: e7f9201133d479428c087140915f958af1cf73a5
https://github.com/llvm/llvm-project/commit/e7f9201133d479428c087140915f958af1cf73a5
Author: Anshil Gandhi <gandhi21299 at gmail.com>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.h
M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/BottomUpVec.cpp
Log Message:
-----------
[SBVec] Implement topDown/botUp vectorizers in unison
This patch introduces the `top-down-vec` pass to the Sandbox Vectorizer,
adding the ability to traverse use-def chains top-down to discover and
collect vectorization opportunities. Furthermore, this patch unifies
the two vectorizers into a single implementation to minimize code
duplication.
* vectorize in the same direction as the scheduler direction
* use AuxArg to determine vectorizer direction
* move user collection to VecUtils and add unit tests
* handle legality results
* introduce getNextBundles to loop ovop over getNextBundle calls for each user
* introduce BundleTy and GetOpIdxVec
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