Skip to content

Commit c9f383d

Browse files
committed
Enable CFG transforms; turn DCE back on globally
1 parent 4fec7ce commit c9f383d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/compiler/ssair/ir.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ mutable struct IncrementalCompact
515515
renamed_new_nodes::Bool
516516
cfg_transforms_enabled::Bool
517517
fold_constant_branches::Bool
518-
function IncrementalCompact(code::IRCode, allow_cfg_transforms::Bool=false)
518+
function IncrementalCompact(code::IRCode, allow_cfg_transforms::Bool=true)
519519
# Sort by position with attach after nodes affter regular ones
520520
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)])
521521
new_len = length(code.stmts) + length(code.new_nodes)

0 commit comments

Comments
 (0)