Skip to content

Commit

Permalink
Disable CFG transforms for now
Browse files Browse the repository at this point in the history
CFG transforms can currently cause issues like #29107,
but I'm still a few days away from fixing this properly. In the meantime,
disable the transform.
  • Loading branch information
Keno authored Sep 19, 2018
1 parent 8dd3326 commit e7e238f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/compiler/ssair/ir.jl
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ mutable struct IncrementalCompact
active_result_bb::Int
renamed_new_nodes::Bool
allow_cfg_transforms::Bool
function IncrementalCompact(code::IRCode, allow_cfg_transforms::Bool=true)
function IncrementalCompact(code::IRCode, allow_cfg_transforms::Bool=false)
# Sort by position with attach after nodes affter regular ones
perm = my_sortperm(Int[(code.new_nodes[i].pos*2 + Int(code.new_nodes[i].attach_after)) for i in 1:length(code.new_nodes)])
new_len = length(code.stmts) + length(code.new_nodes)
Expand Down

0 comments on commit e7e238f

Please sign in to comment.