about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2024-06-25 18:23:01 -0400
committerBen Kimock <kimockb@gmail.com>2024-06-25 18:23:01 -0400
commit8f688d2634b10da6c6a91a57bf8f39557c333b31 (patch)
treee520b53ebf7d874cc6dfdc2aa17257bb9ff8dac8 /compiler/rustc_codegen_llvm
parentc6b25234fe92f7b1098017bd3b23eb0c58b7d485 (diff)
parentd5ff4f4f657766ca03d7b96553baae6aca053596 (diff)
downloadrust-8f688d2634b10da6c6a91a57bf8f39557c333b31.tar.gz
rust-8f688d2634b10da6c6a91a57bf8f39557c333b31.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_llvm')
-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 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,