This is an archive of the discontinued LLVM Phabricator instance.

hwasan: If we split the entry block, move static allocas back into the entry block.
ClosedPublic

Authored by pcc on Jan 24 2019, 4:16 PM.

Details

Summary

Otherwise they are treated as dynamic allocas, which ends up increasing
code size significantly. This reduces size of Chromium base_unittests
by 2MB (6.7%).

Diff Detail

Event Timeline

pcc created this revision.Jan 24 2019, 4:16 PM
eugenis accepted this revision.Jan 24 2019, 5:34 PM

LGTM

This revision is now accepted and ready to land.Jan 24 2019, 5:34 PM
This revision was automatically updated to reflect the committed changes.