Where can I find the sequence of optimizations used by clang according to -OX?
clang executes the precisely same sequence of passes as opt -ON. So, you can do something like
llvm-as < /dev/null | opt -O3 -disable-output -debug-pass=Arguments
to derive the "full" set of passes which are run at O3.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With