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 612f437 commit 198fbdfCopy full SHA for 198fbdf
compiler/rustc_monomorphize/src/collector/autodiff.rs
@@ -5,8 +5,8 @@ use crate::collector::{MonoItems, create_fn_mono_item};
5
6
// Here, we force both primal and diff function to be collected in
7
// mono so this does not interfere in `autodiff` intrinsics
8
-// codegen process. If they are unused, they will be removed later and
9
-// won't be present at LLVM-IR.
+// codegen process. If they are unused, LLVM will remove them when
+// compiling with O3.
10
pub(crate) fn collect_autodiff_fn<'tcx>(
11
tcx: TyCtxt<'tcx>,
12
instance: ty::Instance<'tcx>,
0 commit comments