[llvm-dev] NPM and code-size

Sjoerd Meijer via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 22 07:51:23 PDT 2020


(NPM: new pass manager;  LPM: legacy pass manager)

In a first quick experiment today I compared code-size of the LMP vs. the NMP for the CSiBE benchmark (and some other), and this shows code-size increases with the NPM that would probably be unacceptable for us. So, now I am wondering how/if we need to mitigate this, and have a bunch of questions.

As I've noticed quite some activity around the NPM recently, I am first of all curious if there's an idea or estimate when the NPM will be enabled? And sorry if I missed this. That would give us an idea how much time we have to tune the NMP and the pipeline for code-size, which I think would be the obvious mitigation. Other questions would be if the NPM is mostly tuned for performance at the moment, if others have observed code-size increases too, and if flipping the switch from the LPM to NPM would be for all optimisation levels at the same time, or if we e.g. will fall back to the old one for some?

Thanks,
Sjoerd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200722/c70820a6/attachment.html>


More information about the llvm-dev mailing list