[LLVMdev] O3 passes

Duncan Sands baldrick at free.fr
Mon Apr 27 22:54:06 PDT 2009


On Tuesday 28 April 2009 04:02:47 am Ryan M. Lefever wrote:
> I assume that when -O3 (or O2 or O1) is passed to llvm-gcc, then it 
> utilizes opt.  How do I determine what passes opt runs?  How do I 
> determine what external tools (and arguments) llvm-gcc is invoking?

It doesn't invoke opt, it runs the passes directly.  You can see
what passes it is running by passing -fdebug-pass-arguments to
llvm-gcc.

Ciao,

Duncan.



More information about the llvm-dev mailing list