You can just run opt with -O2 and -O3 and compare the results. Similarly
about the performance of the executed code.
- Stefanos
On Thu, Apr 9, 2020, 15:39 nethish via llvm-dev <llvm-dev at
lists.llvm.org>
wrote:
> Is there a way to compare two optimization passes in opt?
> For example to compare resulting code after applying -O3 and -O2.
> Compare the performance between O2 code and O3 code?
> _______________________________________________
> 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/46b32554/attachment.html>