Skip to content

Commit

Permalink
Merge pull request #226 from JuliaDiff/kf/boundscheckexpr
Browse files Browse the repository at this point in the history
forward_visit!: Don't break on stmt-level Expr(:boundscheck)
  • Loading branch information
oscardssmith authored Oct 12, 2023
2 parents e7c8abd + bc07dd0 commit 4aab1d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/codegen/forward_demand.jl
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ function forward_visit!(ir::IRCode, ssa::SSAValue, order::Int, ssa_orders::Vecto
return
elseif isexpr(stmt, :loopinfo) #TODO preserve this properly
return
elseif isexpr(stmt, :boundscheck)
return
elseif !isa(stmt, Expr)
return
else
Expand Down

0 comments on commit 4aab1d7

Please sign in to comment.