Siddharth Shankar Swain via llvm-dev
2018-Jan-29 05:04 UTC
[llvm-dev] Enabling LTO for new target
Hi, Can anyone guide on how to enable LTO and Thin LTO for a new backend target ? Thanks, Siddharth -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180129/2ae8f38d/attachment.html>
Can you be more specific? LTO/ThinLTO are target independent. You just need to be using a linker that supports *LTO (gold, lld, ld64, eg). Teresa On Sun, Jan 28, 2018 at 9:04 PM, Siddharth Shankar Swain via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi, > Can anyone guide on how to enable LTO and Thin LTO for a new backend > target ? > Thanks, > Siddharth > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-- Teresa Johnson | Software Engineer | tejohnson at google.com | 408-460-2413 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180129/e4329041/attachment.html>
Siddharth Shankar Swain via llvm-dev
2018-Jan-30 06:29 UTC
[llvm-dev] Enabling LTO for new target
yeah so when LTO runs, in the linker, it uses the target to produce object code. In the sense of code generation for target arch. Thanks, Siddharth On Mon, Jan 29, 2018 at 11:03 PM, Teresa Johnson <tejohnson at google.com> wrote:> Can you be more specific? LTO/ThinLTO are target independent. You just > need to be using a linker that supports *LTO (gold, lld, ld64, eg). > Teresa > > > On Sun, Jan 28, 2018 at 9:04 PM, Siddharth Shankar Swain via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Hi, >> Can anyone guide on how to enable LTO and Thin LTO for a new backend >> target ? >> Thanks, >> Siddharth >> >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> >> > > > -- > Teresa Johnson | Software Engineer | tejohnson at google.com | > 408-460-2413 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180130/ce6cbd60/attachment.html>