[llvm-dev] Adding mem2reg pass to pass manager

Riyad Parvez via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 5 12:48:48 PDT 2015


I want to add "mem2reg" pass similar to this:

PassManager PM;
PM.add(new LoopInfo());
PM.add(new Mem2Reg());   // What's the class name for this pass

I couldn't find the name of corresponding class and header file of mem2reg
pass except "mem2reg.cpp". So how can I add mem2reg pass into my pass

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151005/e8fc8db2/attachment.html>

More information about the llvm-dev mailing list