Skip to content

Commit

Permalink
precompile: major LLVM speed improvement
Browse files Browse the repository at this point in the history
fix #15048

(cherry picked from commit 95428ba)
ref #18191
  • Loading branch information
vtjnash authored and tkelman committed Aug 29, 2016
1 parent 8e130ef commit 8884d9d
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 @@ -5809,7 +5809,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 8884d9d

Please sign in to comment.