[PATCH] D149288: [X86] Introduce a large data threshold for the medium code model
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 12:43:25 PDT 2023
rnk added a comment.
One of our use cases for having a "large" attribute for global data is to have a way to mark instrumentation data as large. We would use this for ASan global metadata and PGO name data, which are not accessed frequently during program execution, but contribute significantly to binary data size.
Regardless, I'm in favor of using a simple module flag for this. It makes it easy for non-Clang frontends. The explicit "large" attribute can come later.
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