[llvm-dev] Flags -O1 -O2 -O3

David Fernandez via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 1 06:29:02 PDT 2019


I've found that in 'opt' command, the list of transformation passes used for -O0,-O1,-O2 and -O3, is a reduced subset from the list of all the available passes available in 'opt' command. 

So, I have couple of questions regarding that:

- How is defined the subset of passes/flags used for -O0,-O1,-O2 and -O3
- And how to know which flags to discard from the whole list of passes available in 'opt' , as the flags of the family “X86” and more of this 

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191001/5c43e0f4/attachment.html>


More information about the llvm-dev mailing list