[LLVMdev] llvm-ld optimization options

HyperQuantum hyperquantum at gmail.com
Thu Apr 17 03:08:42 PDT 2008


I have been wondering why llvm-ld generates the same code with or
without the option "-O5" so I looked at its source (llvm 2.2). And
apparently, the options "-On" are accepted but never used! The program
runs a fixed set of optimization passes, unless "-disable-opt" is
specified. What is the reason for this? If this is intended, then the
documentation should say something about this IMHO.


Regards,
Kevin André




More information about the llvm-dev mailing list