[LLVMdev] How will get unoptimized LLVM assembly

Chris Lattner sabre at nondot.org
Wed Jul 20 19:35:11 PDT 2005


On Mon, 18 Jul 2005, Zahurul Islam wrote:

> Dear All,
> I am Zahurul Islam. I have found LLVM always generate optimize byte code,
> but I want to stop this. Actually, I want unoptimized  LLVM assembly code
> from C code.
> Please help me to do that.

Just pass "-Wa,-disable-opt -Wl,-disable-opt" to llvm-gcc.

-Chris

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




More information about the llvm-dev mailing list