[llvm-dev] the new FunctionPassManager
Josh Klontz via llvm-dev
llvm-dev at lists.llvm.org
Wed Apr 27 08:55:35 PDT 2016
Just started playing catchup to trunk myself. It seems that `
createBasicAliasAnalysisPass()` is now `createBasicAAWrapperPass()`.
On Thu, Feb 18, 2016 at 4:43 PM, Frank Winter via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi all,
> I try to keep my code in sync with recent changes made to trunk (coming
> from 3.6).
> I see the FunctionPassManager has changed and I see there's a legacy
> version, but I try to keep up with the mainstream and prefer to use
> non-legacy stuff.
> I also see that the examples were not updated.
> Before I could do
> llvm::FunctionPassManager *functionPassManager = new
> Now, the createBasicAliasAnalysisPass() is no longer there.
> But I see there's a void PassManagerBuilder::addInitialAliasAnalysisPasses.
> Is this what I should use now?
> Also, I couldn't figure out equivalent code for this:
> functionPassManager->add(new llvm::DataLayoutPass());
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev