Skip to content

Commit 6618d44

Browse files
authored
minor follow up on #49692 (#49752)
1 parent 0b5ec1f commit 6618d44

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

base/compiler/ssair/irinterp.jl

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -247,15 +247,11 @@ function _ir_abstract_constant_propagation(interp::AbstractInterpreter, irsv::IR
247247
any_refined = true
248248
delete!(ssa_refined, idx)
249249
end
250-
did_reprocess = false
251-
if any_refined
252-
did_reprocess = reprocess_instruction!(interp,
250+
if any_refined && reprocess_instruction!(interp,
253251
idx, bb, inst, typ, irsv, extra_reprocess)
254-
if did_reprocess
255-
push!(ssa_refined, idx)
256-
inst = ir.stmts[idx][:inst]
257-
typ = ir.stmts[idx][:type]
258-
end
252+
push!(ssa_refined, idx)
253+
inst = ir.stmts[idx][:inst]
254+
typ = ir.stmts[idx][:type]
259255
end
260256
if idx == lstmt
261257
process_terminator!(ir, inst, idx, bb, all_rets, bb_ip) && @goto residual_scan

0 commit comments

Comments
 (0)