[llvm] [X86] Respect code models more when determining if a global reference can fit in 32 bits (PR #75386)
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 13 16:25:25 PST 2023
================
@@ -91,9 +91,8 @@ X86Subtarget::classifyLocalReference(const GlobalValue *GV) const {
if (CM == CodeModel::Large)
----------------
rnk wrote:
Is this condition correct? It seems like it won't handle globals explicitly marked with `code_model "small"` correctly.
https://github.com/llvm/llvm-project/pull/75386
More information about the llvm-commits
mailing list