[llvm] [SandboxVec] Add pass to create Regions from metadata. Generalize SandboxVec pass pipelines. (PR #112288)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 14 18:07:09 PDT 2024
================
@@ -50,40 +50,130 @@ class PassManager : public ParentPass {
}
using CreatePassFunc =
- std::function<std::unique_ptr<ContainedPass>(StringRef)>;
+ std::function<std::unique_ptr<ContainedPass>(StringRef, StringRef)>;
----------------
vporpo wrote:
Could you add a brief comment that somehow explains what each argument is, perhaps something like: `/// CreatePassFunc(PassName, PassArgs)`
https://github.com/llvm/llvm-project/pull/112288
More information about the llvm-commits
mailing list