Answer by Anton Korobeynikov for Where to find the optimization sequence for...
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...
View ArticleWhere to find the optimization sequence for clang -OX?
Where can I find the sequence of optimizations used by clang according to -OX?
View Article