[LLVMdev] reducing llc's memory consumption
Robert Muth
robertm at google.com
Tue Jun 26 07:11:06 PDT 2012
We are processing some fairly large, e.g. 10s of MB, bitcode files with llc,
which result in peak memory use of several GBs.
We would like to ameliorate this somewhat.
On one end of the spectrum we could look into reducing the size of common
data structures and local space optimization.
On the other end we could try to switch the MCAssembler from a model
where it processes the entire Module at once, to something more like
a function at a time.
Does the list have any suggestions what we should look into.
Important considerations are:
* anticipated reduction in memory use
* likelihood of succeeding
* upstreamability
Cheers,
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120626/ac9b5a38/attachment.html>
More information about the llvm-dev
mailing list