[PATCH] D44445: CodeGen: Reduce LValue and CallArgList memory footprint before recommitting r326946

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 13 12:54:07 PDT 2018

yaxunl created this revision.
yaxunl added reviewers: rsmith, rjmccall.

Recent change r326946 (https://reviews.llvm.org/D34367) causes regression in Eigen due to increased
memory footprint of CallArg.

This patch reduces LValue size from 112 to 96 bytes and reduces inline argument count of CallArgList
from 16 to 8.

It has been verified that this will let the added deep AST tree test pass with r326946.

In the long run, CallArg or LValue memory footprint should be further optimized.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44445.138247.patch
Type: text/x-patch
Size: 22687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180313/c1ab2d1d/attachment-0001.bin>

More information about the cfe-commits mailing list