[PATCH] D87951: Enable opt-bisect for the new pass manager

Josh Stone via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 10:17:52 PDT 2020


cuviper added a comment.

Hmm, thanks for those pointers. To combine opt-bisect from the two pass managers, maybe there can be an explicit call to copy stateful instrumentation? I think it helps that they are not interleaved, so we could do `MPM.run()`, then somehow `SI.copy_to(CodeGenPasses)`, then `CodeGenPasses.run()`. I still need to read that thread too...

`LTOBackend` may also need to deal with this, but I don't know if flags like opt-bisect apply there.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87951/new/

https://reviews.llvm.org/D87951



More information about the llvm-commits mailing list