[llvm-dev] How to get from "opt -O3" to "opt <a-single-pass>" with the new PM?

Arthur Eubanks via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 4 10:53:58 PST 2021


If we were to do something like -debug-pass=Arguments,
https://reviews.llvm.org/D97722 is the first step.

Otherwise we could do some sort of pass instrumentation that skips random
passes until we get to a minimal set of passes required to repro an issue.
Sort of like opt-bisect but more granular.

On Thu, Mar 4, 2021 at 4:00 AM Florian Hahn <florian_hahn at apple.com> wrote:

>
>
> > On Mar 1, 2021, at 17:18, Arthur Eubanks <aeubanks at google.com> wrote:
> >
> > Alright, I will try to come up with a nice way of reducing the list of
> passes.
> >
>
> That’s great, thanks!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210304/f86c0620/attachment.html>


More information about the llvm-dev mailing list