[LLVMdev] understanding the opt tool

Óscar Fuentes ofv at wanadoo.es
Sat Apr 17 12:44:35 PDT 2010


kalyan ponnala <ponnala.kalyan at gmail.com> writes:

[snip]

> And @samuel, I tried the clang's -o0 optimization level compiling, but
> I could not find any difference with or without that switch in the
> bitcode file generated. I used this command:
>
>  clang filename.c -o0 -emit-llvm
>
> Is this the correct way to use it?

It's -O0 (capital 'o')

[snip]




More information about the llvm-dev mailing list