[llvm-dev] opt optimization

Stefanos Baziotis via llvm-dev llvm-dev at lists.llvm.org
Wed Apr 8 16:04:54 PDT 2020


Hi Nethish,

I recently learned about -print-after-all. This will print the IR after
each pass. This is not exactly what you want but in the meantime it may
help.

Best,
Stefanos

Στις Πέμ, 9 Απρ 2020 στις 4:22 π.μ., ο/η nethish via llvm-dev <
llvm-dev at lists.llvm.org> έγραψε:

> Is there any way to find if a optimization pass has passed in opt?
> In clang -fsave-optimzization-record would tell if particular
> optimization pass has applied or failed.
> Is there similar functionality in opt?
>
> Regards,
> Nethish.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200409/d788e102/attachment.html>


More information about the llvm-dev mailing list