[llvm-dev] Performance of large llvm::ConstantDataArrays

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Sat Sep 9 08:45:00 PDT 2017


On Fri, Sep 08, 2017 at 04:30:49PM -0700, Chris Lovett wrote:
> 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...

If you don't care about cross-compiling, it is as simple as a scanf &
fwrite loop in a helper program. With cross-compiling, it becomes a lot
more tricky.

Joerg


More information about the llvm-dev mailing list