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 16a2bf0 commit 0d9e0efCopy full SHA for 0d9e0ef
src/jitlayers.cpp
@@ -1385,11 +1385,13 @@ namespace {
1385
#endif
1386
if (TheTriple.isAArch64())
1387
codemodel = CodeModel::Small;
1388
+#if JL_LLVM_VERSION < 200000
1389
else if (TheTriple.isRISCV()) {
- // RISC-V will support large code model in LLVM 21
1390
+ // RISC-V only supports large code model from LLVM 20
1391
// https://github.com/llvm/llvm-project/pull/70308
1392
codemodel = CodeModel::Medium;
1393
}
1394
+#endif
1395
// Generate simpler code for JIT
1396
Reloc::Model relocmodel = Reloc::Static;
1397
if (TheTriple.isRISCV()) {
0 commit comments