We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d95315 commit 0b4092cCopy full SHA for 0b4092c
enzyme/Enzyme/CApi.cpp
@@ -580,7 +580,7 @@ LLVMValueRef EnzymeCreatePrimalAndGradient(
580
overwritten_args.push_back(_overwritten_args[i]);
581
}
582
return wrap(eunwrap(Logic).CreatePrimalAndGradient(
583
- RequestContext(cast<Instruction>(unwrap(request_req)),
+ RequestContext(cast_or_null<Instruction>(unwrap(request_req)),
584
unwrap(request_ip)),
585
(ReverseCacheKey){
586
.todiff = cast<Function>(unwrap(todiff)),
0 commit comments