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 950d91b commit 58ba12fCopy full SHA for 58ba12f
compiler/rustc_codegen_llvm/src/builder/autodiff.rs
@@ -63,7 +63,7 @@ fn generate_enzyme_call<'ll>(
63
// functions. Unwrap will only panic, if LLVM gave us an invalid string.
64
let name = llvm::get_value_name(outer_fn);
65
let outer_fn_name = std::str::from_utf8(name).unwrap();
66
- ad_name.push_str(outer_fn_name.to_string().as_str());
+ ad_name.push_str(outer_fn_name);
67
68
// Let us assume the user wrote the following function square:
69
//
0 commit comments