diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-24 15:51:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-24 15:51:00 -0400 |
| commit | faa28be2f14b94148a19e1d4023b0a18f9b4d16a (patch) | |
| tree | 76aa83064c5e99619134e6beca07b245c1a9b9ad /compiler/rustc_codegen_llvm | |
| parent | 00e5f5886af17fe690a685290381531f840c5edc (diff) | |
| parent | f5f067bf9d8de86f3a546a33d8a2e08dfa64cde1 (diff) | |
| download | rust-faa28be2f14b94148a19e1d4023b0a18f9b4d16a.tar.gz rust-faa28be2f14b94148a19e1d4023b0a18f9b4d16a.zip | |
Rollup merge of #124712 - Enselic:deprecate-inline-threshold, r=pnkfelix
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. Recommend using `-Cllvm-args=--inline-threshold=...` instead. Closes #89742 which is E-help-wanted.
Diffstat (limited to 'compiler/rustc_codegen_llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/back/write.rs | 3 |
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 bbfc697407b..5e481eb98f5 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, |
