[llvm-dev] Module::createRNG() and new PassManager
Eric Christopher via llvm-dev
llvm-dev at lists.llvm.org
Fri Jan 24 16:04:20 PST 2020
Agreed, that interface doesn't exist anymore so trying to update it is up
to you :)
On Fri, Jan 24, 2020 at 2:15 PM Fedor Sergeev via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> what is the intended use of this interface? It seems to be unused in
> llvm repo.
> It is not clear to me why is it needed to seed RNG with pass name, but
> you surely can do that :)
> On 1/25/20 12:55 AM, Dominic Chen via llvm-dev wrote:
> > 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
> > _______________________________________________
> > LLVM Developers mailing list
> > llvm-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev