Kavindu Gimhan Zoysa via llvm-dev
2021-Sep-12 17:03 UTC
[llvm-dev] A question on opt command vs clang command
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> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210912/c6c26cb1/attachment.html>
Min-Yih Hsu via llvm-dev
2021-Sep-13 05:06 UTC
[llvm-dev] A question on opt command vs clang command
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>