Skip to content

Commit

Permalink
precompile: major LLVM speed improvement
Browse files Browse the repository at this point in the history
fix #15048
  • Loading branch information
vtjnash committed Aug 23, 2016
1 parent 649ce88 commit 95428ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5830,7 +5830,7 @@ extern "C" void jl_init_codegen(void)
#ifdef DISABLE_OPT
.setOptLevel(CodeGenOpt::None)
#else
.setOptLevel(CodeGenOpt::Aggressive)
.setOptLevel(jl_options.opt_level == 0 ? CodeGenOpt::None : CodeGenOpt::Aggressive)
#endif
#if defined(USE_MCJIT) && !defined(LLVM36)
.setUseMCJIT(true)
Expand Down

0 comments on commit 95428ba

Please sign in to comment.