Skip to content

Commit 6981115

Browse files
committed
make tidy happy
1 parent 79a3e2b commit 6981115

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

compiler/rustc_codegen_llvm/messages.ftl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
codegen_llvm_autodiff_without_lto = using the autodiff feature requires using fat-lto
2+
13
codegen_llvm_copy_bitcode = failed to copy bitcode to object file: {$err}
24
35
codegen_llvm_dynamic_linking_with_lto =
@@ -47,6 +49,8 @@ codegen_llvm_parse_bitcode_with_llvm_err = failed to parse bitcode for LTO modul
4749
codegen_llvm_parse_target_machine_config =
4850
failed to parse target machine config to target machine: {$error}
4951
52+
codegen_llvm_prepare_autodiff = failed to prepare autodiff: src: {$src}, target: {$target}, {$error}
53+
codegen_llvm_prepare_autodiff_with_llvm_err = failed to prepare autodiff: {$llvm_err}, src: {$src}, target: {$target}, {$error}
5054
codegen_llvm_prepare_thin_lto_context = failed to prepare thin LTO context
5155
codegen_llvm_prepare_thin_lto_context_with_llvm_err = failed to prepare thin LTO context: {$llvm_err}
5256
@@ -56,10 +60,6 @@ codegen_llvm_prepare_thin_lto_module_with_llvm_err = failed to prepare thin LTO
5660
codegen_llvm_run_passes = failed to run LLVM passes
5761
codegen_llvm_run_passes_with_llvm_err = failed to run LLVM passes: {$llvm_err}
5862
59-
codegen_llvm_prepare_autodiff = failed to prepare autodiff: src: {$src}, target: {$target}, {$error}
60-
codegen_llvm_prepare_autodiff_with_llvm_err = failed to prepare autodiff: {$llvm_err}, src: {$src}, target: {$target}, {$error}
61-
codegen_llvm_autodiff_without_lto = using the autodiff feature requires using fat-lto
62-
6363
codegen_llvm_sanitizer_memtag_requires_mte =
6464
`-Zsanitizer=memtag` requires `-Ctarget-feature=+mte`
6565

compiler/rustc_codegen_llvm/src/back/write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ pub(crate) unsafe fn llvm_optimize(
525525
// source code. However, benchmarks show that optimizations increasing the code size
526526
// tend to reduce AD performance. Therefore deactivate them before AD, then differentiate the code
527527
// and finally re-optimize the module, now with all optimizations available.
528-
// TODO: In a future update we could figure out how to only optimize individual functions getting
528+
// FIXME(ZuseZ4): In a future update we could figure out how to only optimize individual functions getting
529529
// differentiated.
530530

531531
let unroll_loops;

0 commit comments

Comments
 (0)