Alec Ari via llvm-dev
2019-Mar-24 06:26 UTC
[llvm-dev] Generating object files more efficiently
Hi, XYZ is your actual architecture? Are you trolling? Alec
Craig Topper via llvm-dev
2019-Mar-25 18:37 UTC
[llvm-dev] Generating object files more efficiently
There's a function in lib/Driver/ToolChains/CommonArgs.cpp called tools::getCPUName that needs to be implemented for each target to determine how to process -mcpu/-march You might be able to bypass that for testing purposes by adding "-Xclang -target-cpu -Xclang mycpu" to your driver command line. ~Craig On Mon, Mar 25, 2019 at 11:24 AM Alec Ari via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi, > > XYZ is your actual architecture? Are you trolling? > > Alec > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190325/2a626921/attachment-0001.html>
J S via llvm-dev
2019-Mar-26 20:38 UTC
[llvm-dev] Generating object files more efficiently
How do I tell clang to use my target CPU's assembler instead of my host's assembler? I found the -fuse-ld option to tell it to use my linker but didn't find an option for the assembler. Thanks. ________________________________ From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Craig Topper via llvm-dev <llvm-dev at lists.llvm.org> Sent: Monday, March 25, 2019 11:37 AM To: Alec Ari Cc: llvm-dev at lists.llvm.org Subject: Re: [llvm-dev] Generating object files more efficiently There's a function in lib/Driver/ToolChains/CommonArgs.cpp called tools::getCPUName that needs to be implemented for each target to determine how to process -mcpu/-march You might be able to bypass that for testing purposes by adding "-Xclang -target-cpu -Xclang mycpu" to your driver command line. ~Craig On Mon, Mar 25, 2019 at 11:24 AM Alec Ari via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: Hi, XYZ is your actual architecture? Are you trolling? Alec _______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190326/2c1c3dc3/attachment.html>