[all-commits] [llvm/llvm-project] 38fbfd: [SanbdoxIR][SandboxVec] AuxPassArgs for auxiliary ...
Vasileios Porpodas via All-commits
all-commits at lists.llvm.org
Fri Sep 18 16:45:17 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 38fbfd2cf7e2a64ec91b6327a8daee26b7e64611
https://github.com/llvm/llvm-project/commit/38fbfd2cf7e2a64ec91b6327a8daee26b7e64611
Author: Vasileios Porpodas <vasileios.porpodas at amd.com>
Date: 2026-09-18 (Fri, 18 Sep 2026)
Changed paths:
M llvm/include/llvm/SandboxIR/Pass.h
M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/SeedCollection.h
M llvm/lib/SandboxIR/Pass.cpp
M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/SeedCollection.cpp
M llvm/test/Transforms/SandboxVectorizer/EndToEnd/seed_bundle_cross_erasure.ll
M llvm/test/Transforms/SandboxVectorizer/Passes/BundleVec/top_down.ll
M llvm/test/Transforms/SandboxVectorizer/Passes/LoadStoreVec/load_store_vec_load_seeds.ll
M llvm/test/Transforms/SandboxVectorizer/Passes/SeedCollection/seed_collection_loads.ll
M llvm/unittests/SandboxIR/PassTest.cpp
Log Message:
-----------
[SanbdoxIR][SandboxVec] AuxPassArgs for auxiliary pass arguments (#224450)
This patch implements helper classes for handling the pass auxiliary
arguments. These classes handle the parsing of the auxiliary argument
string such that the passes themselves won't have to deal with it.
We currently only support boolean arguments that are false by default.
If an argument shows up in the string then it is set to true.
Example:
```
AuxPassArgsRegistry ArgsRegistry; // The "parent" of the arguments
AuxPassArg Arg1 = ArgsRegistry.createArg("arg1");
AuxPassArg Arg2 = ArgsRegistry.createArg("arg2");
...
ArgsRegistry.parse("arg1"); // From this point on (bool)Arg1 evaluates to true.
```
This patch is also removing the `cl::opt<std::string> CollectSeeds` for
the SeedCollection and replaces it with AuxPassArgs. So we are now
specifying the seeds in the pass pipeline like:
```
-sbvec-passes="seed-collection(loads,stores,enable-diff-types)"
```
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