Skip to content

Commit

Permalink
Disable fastisel for -O3
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Apr 21, 2016
1 parent 17dfdc1 commit 8ec902e
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 8ec902e

Please sign in to comment.