This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What optimization options (flags) are enabled for predefined optimization levels -O<n> in armclang? Where can I find a list of all available optimization options?

For GCC, you are able to look up what options are enabled for different optimization levels. There is even a webpage for that: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html . I can't find anything similar for for armclang (or clang in general).

I found these two pages, but they don't answer my question: https://llvm.org/docs/Passes.html#introduction , https://developer.arm.com/documentation/100067/0611/armclang-Command-line-Options 

Thanks for any help!