about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-10-01 16:45:33 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-10-01 16:45:33 +0000
commita3cc67c79636e5deab118171b5ba672c3d0a99e1 (patch)
tree0ca1543370d9869c2d7b5dfe6653278dea242f87 /compiler/rustc_codegen_llvm/src
parentc431ea681c51c9b0eedf070a72f5c7c3ad3b87a3 (diff)
downloadrust-a3cc67c79636e5deab118171b5ba672c3d0a99e1.tar.gz
rust-a3cc67c79636e5deab118171b5ba672c3d0a99e1.zip
Remove unused target_cpu and tune_cpu methods from ExtraBackendMethods
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/lib.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs
index be37dd3683b..89c7e51d09e 100644
--- a/compiler/rustc_codegen_llvm/src/lib.rs
+++ b/compiler/rustc_codegen_llvm/src/lib.rs
@@ -131,12 +131,6 @@ impl ExtraBackendMethods for LlvmCodegenBackend {
     ) -> TargetMachineFactoryFn<Self> {
         back::write::target_machine_factory(sess, optlvl, target_features)
     }
-    fn target_cpu<'b>(&self, sess: &'b Session) -> &'b str {
-        llvm_util::target_cpu(sess)
-    }
-    fn tune_cpu<'b>(&self, sess: &'b Session) -> Option<&'b str> {
-        llvm_util::tune_cpu(sess)
-    }
 
     fn spawn_thread<F, T>(time_trace: bool, f: F) -> std::thread::JoinHandle<T>
     where