Skip to content

Commit

Permalink
Undo PPC change
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaraldi committed Oct 23, 2023
1 parent a1e3029 commit a1dd3e9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/jitlayers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1200,10 +1200,6 @@ namespace {
#endif
if (TheTriple.isAArch64())
codemodel = CodeModel::Small;
if (TheTriple.isPPC()) {
// On PPC the small model is limited to 16bit offsets
codemodel = CodeModel::Medium;
}
auto optlevel = CodeGenOptLevelFor(jl_options.opt_level);
auto TM = TheTarget->createTargetMachine(
TheTriple.getTriple(), TheCPU, FeaturesStr,
Expand Down

0 comments on commit a1dd3e9

Please sign in to comment.