about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back
diff options
context:
space:
mode:
authorMartin Nordholts <martin.nordholts@codetale.se>2024-05-04 16:21:50 +0200
committerMartin Nordholts <martin.nordholts@codetale.se>2024-06-14 20:25:17 +0200
commitf5f067bf9d8de86f3a546a33d8a2e08dfa64cde1 (patch)
tree9c7c9f66f146b8311ef5e2d6fe7bed62104f77e8 /compiler/rustc_codegen_llvm/src/back
parent651ff643ae68438213bded335ef47cc9c50d3039 (diff)
downloadrust-f5f067bf9d8de86f3a546a33d8a2e08dfa64cde1.tar.gz
rust-f5f067bf9d8de86f3a546a33d8a2e08dfa64cde1.zip
Deprecate no-op codegen option `-Cinline-threshold=...`
This deprecates `-Cinline-threshold` since using it has no effect. This
has been the case since the new LLVM pass manager started being used,
more than 2 years ago.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back')
-rw-r--r--compiler/rustc_codegen_llvm/src/back/write.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/write.rs b/compiler/rustc_codegen_llvm/src/back/write.rs
index 02e3bb06dda..afacd0994b5 100644
--- a/compiler/rustc_codegen_llvm/src/back/write.rs
+++ b/compiler/rustc_codegen_llvm/src/back/write.rs
@@ -564,9 +564,6 @@ pub(crate) unsafe fn llvm_optimize(
 
     let llvm_plugins = config.llvm_plugins.join(",");
 
-    // FIXME: NewPM doesn't provide a facility to pass custom InlineParams.
-    // We would have to add upstream support for this first, before we can support
-    // config.inline_threshold and our more aggressive default thresholds.
     let result = llvm::LLVMRustOptimize(
         module.module_llvm.llmod(),
         &*module.module_llvm.tm,