[LLVMdev] llvm-ld optimization options

Chris Lattner sabre at nondot.org
Thu Apr 17 11:39:49 PDT 2008


On Thu, 17 Apr 2008, HyperQuantum wrote:
> 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.

Probably the standard answer: "because noone has done it yet" :)

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list