[LLVMdev] Disable optimization

Thorsten Glaser tg at mirbsd.de
Mon Dec 1 02:49:07 PST 2008


Daniel M Gessel dixit:

>Wouldn't Clang be a good option to generating unoptimized LLVM IR?

More like broken ;-) sometimes at least.

>On Nov 28, 2008, at 6:13 AM, Duncan Sands wrote:

>> They are not really done by LLVM, because no optimizations are done  
>> on the
>> LLVM IR.  They are done by llvm-gcc, a front-end to LLVM:

llvm-pcc, anyone? :รพ

//mirabilos
-- 
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font.	-- Rob Pike in "Notes on Programming in C"




More information about the llvm-dev mailing list