[PATCH] D143877: [NFC] [clang] Forward forwarding reference
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 27 15:06:30 PST 2023
dblaikie added a subscriber: iains.
dblaikie added a comment.
> Although we may not agree such ideas, we should offer an option for the users to give them the right to choose.
I think @iains was bemoaning the large number of module flags recently - perhaps he'd have some thoughts on this, but mine are that we should be more prescriptive - figure out what a good solution is for most users and implement that, rather than giving people lots of knobs to tune.
For this issue - honestly I think it might be a better/safer default to not import external module definitions at all/ever. Leave it to LTO to do that kind of cross-module optimization, as we have in the past/non-modular builds.
At least until/unless we implement something more like what the bug describes - doing IR level optimizations first and importing the optimized IR, rather than reoptimizing these external definitions in every user.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143877/new/
https://reviews.llvm.org/D143877
More information about the cfe-commits
mailing list