diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2025-07-17 03:58:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-17 03:58:28 +0200 |
| commit | be5f8f299dce5c04e2a644546e780d8a07b0b14f (patch) | |
| tree | 4136b7aa6476303ee4651345945066c4c7b82cb9 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 9ac88eabede895a3e8566cab70c77b07fcaa4356 (diff) | |
| parent | 21026cae8d34241b65924198b72c7231ce4f5a3d (diff) | |
| download | rust-be5f8f299dce5c04e2a644546e780d8a07b0b14f.tar.gz rust-be5f8f299dce5c04e2a644546e780d8a07b0b14f.zip | |
Rollup merge of #143388 - bjorn3:lto_refactors, r=compiler-errors
Various refactors to the LTO handling code In particular reducing the sharing of code paths between fat and thin-LTO and making the fat LTO implementation more self-contained. This also moves some autodiff handling out of cg_ssa into cg_llvm given that Enzyme only works with LLVM anyway and an implementation for another backend may do things entirely differently. This will also make it a bit easier to split LTO handling out of the coordinator thread main loop into a separate loop, which should reduce the complexity of the coordinator thread.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/errors.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs index d50ad8a1a9c..31d49e86319 100644 --- a/compiler/rustc_codegen_llvm/src/errors.rs +++ b/compiler/rustc_codegen_llvm/src/errors.rs @@ -38,10 +38,6 @@ impl<G: EmissionGuarantee> Diagnostic<'_, G> for ParseTargetMachineConfig<'_> { } #[derive(Diagnostic)] -#[diag(codegen_llvm_autodiff_without_lto)] -pub(crate) struct AutoDiffWithoutLTO; - -#[derive(Diagnostic)] #[diag(codegen_llvm_autodiff_without_enable)] pub(crate) struct AutoDiffWithoutEnable; |
