We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b179b4c commit 52e22ebCopy full SHA for 52e22eb
xls/jit/aot_compiler.cc
@@ -93,6 +93,11 @@ AotCompiler::CreateTargetMachine() {
93
};
94
95
error_or_target_builder->setRelocationModel(llvm::Reloc::Model::PIC_);
96
+ error_or_target_builder->setCodeModel(
97
+ error_or_target_builder->getTargetTriple().isAArch64()
98
+ ? llvm::CodeModel::Large
99
+ : llvm::CodeModel::Medium);
100
+
101
// In ahead-of-time compilation we're compiling on machines we are not
102
// immediately about to run on, where runtime machines may have
103
// heterogeneous specifications vs the compilation machine. We assume a
0 commit comments