Skip to content

Commit

Permalink
precompile: major LLVM speed improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash authored and mfasi committed Sep 5, 2016
1 parent 485f959 commit 910fd1a
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 @@ -5951,7 +5951,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 910fd1a

Please sign in to comment.