[PATCH] D149288: [X86] Introduce a large data threshold for the medium code model
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 12 22:21:07 PDT 2023
aeubanks added a comment.
In D149288#4388728 <https://reviews.llvm.org/D149288#4388728>, @rnk wrote:
> What about storing some kind of "large data attribute" on the global itself in the IR? That would help make sure the medium code model flags don't have to be passed to ThinLTO backend action compilations, for example, and give intuitive semantics to linking together objects compiled in the large, medium, and small code models.
apparently a module metadata for the code model for passing along to LTO backends was already done a while back in https://reviews.llvm.org/D52322
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149288/new/
https://reviews.llvm.org/D149288
More information about the llvm-commits
mailing list