<div dir="ltr">Thanks, I've considered that, but I am using LLVM to target multiple platforms, so if I do that I'm worried I need to consider the cross-platform floating point memory layouts ... unless LLVM can help me with creating the correct binary blob...</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 8, 2017 at 6:00 AM, Joerg Sonnenberger via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Sep 07, 2017 at 11:06:58PM -0700, Chris Lovett via llvm-dev wrote:<br>
> I'm running into some pretty bad performance in llc.exe when compiling some<br>
> large neural networks into code that contains some very<br>
> large llvm::ConstantDataArrays, some are { size=102,760,448 }. There's a<br>
> small about of actual code for processing the network, but the assembly is<br>
> mostly global data.<br>
<br>
</span>Have you considered just writing out binary data directly and using i.e.<br>
.incbin for including it?<br>
<br>
Joerg<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div>