[PATCH] D74183: [IRGen] Add an alignment attribute to underaligned sret parameters
Nikita Popov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 24 14:00:59 PDT 2020
nikic added a comment.
For the record, this change caused an 1.5% compile-time regression on tramp3d-v4 (http://llvm-compile-time-tracker.com/compare.php?from=43a6d285bfead762ac472a6e62beedc9f88bce89&to=de98cf92e301ab559a7417f1eca5cfa53624c9e1&stat=instructions). As there was also a 0.9% increase in code size, I assume that adding the alignment ends up having a non-trivial impact on optimization behavior for this benchmark and we end up generating more IR. So most likely this is fine and there's nothing to be done about it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74183/new/
https://reviews.llvm.org/D74183
More information about the cfe-commits
mailing list