[llvm] Fix issue with running the same PassManager twice (PR #92823)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 15:36:47 PDT 2024


https://github.com/aeubanks requested changes to this pull request.

this isn't the right solution. if we're calling `ModuleInlinerWrapperPass::run()` more than once, we're going to keep adding random passes/sub-pass managers to `MPM` and running those.

we really shouldn't be creating and running pass managers within a `run()`. could you see if we could somehow make it so we do all the pass management once? will probably involve modifying `PassBuilderPipelines.cpp`

https://github.com/llvm/llvm-project/pull/92823


More information about the llvm-commits mailing list