about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2021-11-05 10:28:12 -0700
committerJosh Stone <jistone@redhat.com>2021-11-05 10:28:12 -0700
commitc9567e24248847ba2b2809eb3a8c86a76439807e (patch)
tree4b1bd81df48a6da71cff8994e07433644db286d7 /compiler/rustc_codegen_llvm/src
parent1d04577ee05e18cb9d25bbfac6d5a0302f380de8 (diff)
downloadrust-c9567e24248847ba2b2809eb3a8c86a76439807e.tar.gz
rust-c9567e24248847ba2b2809eb3a8c86a76439807e.zip
Move outline-atomics to aarch64-linux target definitions
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm_util.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs
index 246bb88885d..3e0ea92ab81 100644
--- a/compiler/rustc_codegen_llvm/src/llvm_util.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -406,11 +406,6 @@ pub fn llvm_global_features(sess: &Session) -> Vec<String> {
     // -Ctarget-features
     features.extend(sess.opts.cg.target_feature.split(',').flat_map(&filter));
 
-    // FIXME: Move outline-atomics to target definition when earliest supported LLVM is 12.
-    if get_version() >= (12, 0, 0) && sess.target.llvm_target.contains("aarch64-unknown-linux") {
-        features.push("+outline-atomics".to_string());
-    }
-
     features
 }