[llvm-dev] Module::createRNG() and new PassManager
Dominic Chen via llvm-dev
llvm-dev at lists.llvm.org
Fri Jan 24 13:55:36 PST 2020
Correct me if I'm wrong, but is Module::CreateRNG(Pass *) unusable with
the new PassManager? Since each pass is defined as a
llvm::PassInfoMixIn<DerivedT> instead of inheriting from llvm::Pass, it
doesn't seem possible to obtain the underlying llvm::Pass * from e.g.
llvm::ModuleAnalysisManager. Would it make sense to change the
definition/implementation to Module::CreateRNG(StringRef PassName)?
Please CC me on responses.
Thanks,
Dominic
More information about the llvm-dev
mailing list