[llvm-dev] A question on opt command vs clang command

Min-Yih Hsu via llvm-dev llvm-dev at lists.llvm.org
Sun Sep 12 22:06:08 PDT 2021


You can also run llc to generate native assembly file

-Min
On Sun, Sep 12, 2021 at 10:05 Kavindu Gimhan Zoysa via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi all,
>
> Is it a best practice to run *clang -O2 -S *after *opt -O2 to *generate
> the .s file?
>
> Thank you,
> Kavindu
>
> Kavindu Gimhan Zoysa,
> BSc(Hons) | ENTC | UoM,
> ATL | WSO2
>
> GitHub <https://github.com/KavinduZoysa> LinkedIn
> <https://www.linkedin.com/in/kavindu-gimhan-zoysa-85939a122/> Medium
> <https://medium.com/@kavindugimhanzoysa>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-- 
Min-Yih Hsu
Ph.D Student in ICS Department, University of California, Irvine (UCI).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210912/dfe71350/attachment.html>


More information about the llvm-dev mailing list