Using<br><br>llvm-gcc -emit-llvm -O0 -S blah.c<br><br>will give you blah.s that is unoptimized. I guess passing that to llvm-as would get you an unoptimized .bc.<br><br>llvm-as -debug-pass=Arguments blah.ll says it is only doing
<br>Pass Arguments: -domtree -etforest -verify<br><br>scott<br><br><div><span class="gmail_quote">On 5/29/07, <b class="gmail_sendername">omiga</b> <<a href="mailto:omiga@ustc.edu">omiga@ustc.edu</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="font-size: 10pt; font-family: verdana;">
<div><font face="Verdana">Hi everyone,</font></div>
<div><font face="Verdana"></font> </div>
<div><font face="Verdana"> Llvm-gcc compiles the programs into bytecodes
with some optimizations. How can I get unoptimized bytecodes?</font></div>
<div><font face="Verdana"> Thanks.</font></div>
<div> </div>
<div> </div>
<div><font face="Verdana">Regards,</font></div>
<div><font face="Verdana"></font> </div>
<div><font face="Verdana">-Ying</font></div></div>
<br>_______________________________________________<br>LLVM Developers mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://llvm.cs.uiuc.edu" target="_blank">
http://llvm.cs.uiuc.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br><br>
</blockquote></div><br>