Skip to content

Commit

Permalink
Merge pull request #15984 from JuliaLang/yyc/o3isel
Browse files Browse the repository at this point in the history
Disable fastisel for -O3
  • Loading branch information
yuyichao committed Apr 23, 2016
2 parents c204232 + afe19cf commit 1bc42ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/codegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5759,7 +5759,8 @@ extern "C" void jl_init_codegen(void)
" Is the LLVM backend for this CPU enabled?");
#if defined(USE_MCJIT) && !defined(_CPU_ARM_)
// FastISel seems to be buggy for ARM. Ref #13321
jl_TargetMachine->setFastISel(true);
if (jl_options.opt_level < 3)
jl_TargetMachine->setFastISel(true);
#endif

#ifdef USE_ORCJIT
Expand Down

0 comments on commit 1bc42ef

Please sign in to comment.