Using
llvm-gcc -emit-llvm -O0 -S blah.c
will give you blah.s that is unoptimized. I guess passing that to llvm-as
would get you an unoptimized .bc.
llvm-as -debug-pass=Arguments blah.ll says it is only doing
Pass Arguments: -domtree -etforest -verify
scott
On 5/29/07, omiga <omiga at ustc.edu> wrote:>
> Hi everyone,
>
> Llvm-gcc compiles the programs into bytecodes with some optimizations.
> How can I get unoptimized bytecodes?
> Thanks.
>
>
> Regards,
>
> -Ying
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20070529/94dc6318/attachment.html>