update documentation

This commit is contained in:
Manuel Drehwald
2025-04-12 01:09:14 -04:00
parent 31578dc587
commit 5ea9125f37
2 changed files with 6 additions and 1 deletions

View File

@@ -445,7 +445,7 @@ pub(crate) fn differentiate<'ll>(
return Err(diag_handler.handle().emit_almost_fatal(AutoDiffWithoutEnable));
}
// Before dumping the module, we want all the TypeTrees to become part of the module.
// Here we replace the placeholder code with the actual autodiff code, which calls Enzyme.
for item in diff_items.iter() {
let name = item.source.clone();
let fn_def: Option<&llvm::Value> = cx.get_function(&name);