From e7e238f0e3ef57b930251dec15ef4938e8eec66a Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Tue, 18 Sep 2018 20:40:20 -0400 Subject: [PATCH] Disable CFG transforms for now 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. --- base/compiler/ssair/ir.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/compiler/ssair/ir.jl b/base/compiler/ssair/ir.jl index 2f17f29c9db99..4741cbb30ac35 100644 --- a/base/compiler/ssair/ir.jl +++ b/base/compiler/ssair/ir.jl @@ -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)