[llvm-dev] New pass manager, documentation?

Jon Chesterfield via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 24 09:31:13 PST 2021


Hi,

I'm trying to work out how to use the new pass manager. For example, what
is the rough equivalent to addPreISel() in the old one for running target
specific passes shortly before instruction selection, or how do I run a
module pass shortly before a function pass.

I have a module pass which works if run shortly before instruction
selection, but not if it is run via EP_ModuleOptimizerEarly. My current
plan is to make the pass significantly more complicated, so that it can
handle being run repeatedly from suboptimal points in the pipeline, but I
can keep the simple/stupid version instead if I can work out how the pass
manager works.

Thanks,

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


More information about the llvm-dev mailing list