about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorManuel Drehwald <git@manuel.drehwald.info>2025-02-10 01:35:53 -0500
committerManuel Drehwald <git@manuel.drehwald.info>2025-02-10 01:35:53 -0500
commit061abbc36928cce784c54463c266f4d43d14d419 (patch)
tree71f2aa23d155fb7f4628241f2fe6e0d782f1c10e /compiler/rustc_codegen_ssa/src
parent1221cff55149d2dbbf8761345799ef06f8099b97 (diff)
remove outdated *First autodiff variants for higher-order ad
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/codegen_attrs.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
index 4166387dad0..ad4dcbb919c 100644
--- a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
+++ b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
@@ -916,8 +916,6 @@ fn autodiff_attrs(tcx: TyCtxt<'_>, id: DefId) -> Option<AutoDiffAttrs> {
     let mode = match mode.as_str() {
         "Forward" => DiffMode::Forward,
         "Reverse" => DiffMode::Reverse,
-        "ForwardFirst" => DiffMode::ForwardFirst,
-        "ReverseFirst" => DiffMode::ReverseFirst,
         _ => {
             span_bug!(mode.span, "rustc_autodiff attribute contains invalid mode");
         }