Skip to content

Commit

Permalink
Fix unhandled handler (#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Aug 6, 2023
1 parent 20bacaf commit 9bc6224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5415,7 +5415,7 @@ end
function jl_unhandled_fwd(B, orig, gutils, normalR, shadowR)
newo = new_from_original(gutils, orig)
origops = collect(operands(orig))
err = emit_error(LLVM.IRBuilder(B), orig, "Enzyme: unhandled forward for "*string(origops[end]))
err = emit_error(B, orig, "Enzyme: unhandled forward for "*string(origops[end]))
API.moveBefore(newo, err, C_NULL)
normal = (unsafe_load(normalR) != C_NULL) ? LLVM.Instruction(unsafe_load(normalR)) : nothing

Expand Down

0 comments on commit 9bc6224

Please sign in to comment.