Remove unused target_cpu and tune_cpu methods from ExtraBackendMethods

This commit is contained in:
bjorn3 2022-10-01 16:45:33 +00:00
parent c431ea681c
commit a3cc67c796
3 changed files with 0 additions and 17 deletions

View file

@ -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