[LLVMdev] Optimization passes

Richard Osborne richard at xmos.com
Thu Nov 10 07:25:04 PST 2011


Try adding the flags -mllvm --debug-pass=Structure when compiling a file 
with clang at the desired optimization level.

On 10/11/11 02:08, Larry Gritz wrote:
> Is there a succinct way I can get the full list of which optimization passes are applied, and in what order, for standard clang -O1, -O2, -O3?
>
> --
> Larry Gritz
> lg at larrygritz.com
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


-- 
Richard Osborne | XMOS
http://www.xmos.com




More information about the llvm-dev mailing list