Skip to content

Commit bc07dd0

Browse files
committed
forward_visit!: Don't break on stmt-level Expr(:boundscheck)
The default transform should be fine.
1 parent e7c8abd commit bc07dd0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/codegen/forward_demand.jl

+2
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ function forward_visit!(ir::IRCode, ssa::SSAValue, order::Int, ssa_orders::Vecto
187187
return
188188
elseif isexpr(stmt, :loopinfo) #TODO preserve this properly
189189
return
190+
elseif isexpr(stmt, :boundscheck)
191+
return
190192
elseif !isa(stmt, Expr)
191193
return
192194
else

0 commit comments

Comments
 (0)