Skip to content

Commit

Permalink
Merge pull request #27087 from JuliaLang/kf/enablenew
Browse files Browse the repository at this point in the history
Enable new optimizer by default
  • Loading branch information
Keno authored May 14, 2018
2 parents ca764ea + 88f1712 commit fcaa379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base/compiler/optimize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ function isinlineable(m::Method, src::CodeInfo, mod::Module, params::Params, bon
return inlineable
end

const enable_new_optimizer = RefValue(false)
const enable_new_optimizer = RefValue(true)

# converge the optimization work
function optimize(me::InferenceState)
Expand Down
2 changes: 1 addition & 1 deletion base/compiler/ssair/passes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ end

struct FastForward
to::SSAValue
phi_locs::Vector{Tuple{Int64, Int64}}
phi_locs::Vector{Tuple{Int, Int}}
end

function getfield_elim_pass!(ir::IRCode, domtree::DomTree)
Expand Down

2 comments on commit fcaa379

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily benchmark build, I will reply here when finished:

@nanosoldier runbenchmarks(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @ararslan

Please sign in to comment.