[PATCH] D152279: [Driver] Default -msmall-data-limit= to 0
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 8 14:40:41 PDT 2023
MaskRay added a comment.
In D152279#4405901 <https://reviews.llvm.org/D152279#4405901>, @asb wrote:
> One of the key things we've been discussing on this at the LLVM call is that we probably want to keep the small data limit for embedded targets.
It'd be useful to hear from some concrete embedded target users, whether they customize `-msmall-data-limit=`, whether they are happy with `-msmall-data-limit=8`, or whether they are just unaware this threshold.
If an embedded system typically customizes compiler driver options a lot, I think they can consider adding `-msmall-data-limit=` (with a value suitable for their use cases) in a configuration file <https://clang.llvm.org/docs/UsersManual.html#configuration-files>, not letting their use cases judge Linux systems.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152279/new/
https://reviews.llvm.org/D152279
More information about the cfe-commits
mailing list