about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorAdam Gemmell <adam.gemmell@arm.com>2021-05-19 16:11:11 +0100
committerAdam Gemmell <adam.gemmell@arm.com>2021-05-19 16:11:11 +0100
commit523b4d149966a284101cc823167e637b6be9a10a (patch)
tree7ae5c4bf511398aca04645ef0795308609e6d864 /compiler
parent3f5f54cd8bf73e7a271955582834fda9e707429d (diff)
downloadrust-523b4d149966a284101cc823167e637b6be9a10a.tar.gz
rust-523b4d149966a284101cc823167e637b6be9a10a.zip
Remove LSE2
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm_util.rs1
-rw-r--r--compiler/rustc_codegen_ssa/src/target_features.rs4
2 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs
index f0a2c91c018..c734d3e0af9 100644
--- a/compiler/rustc_codegen_llvm/src/llvm_util.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -153,7 +153,6 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str {
         ("aarch64", "fp") => "fp-armv8",
         ("aarch64", "fp16") => "fullfp16",
         ("aarch64", "fhm") => "fp16fml",
-        ("aarch64", "lse2") => "outline-atomics",
         ("aarch64", "rcpc2") => "rcpc-immo",
         ("aarch64", "dpb") => "ccpp",
         ("aarch64", "dpb2") => "ccdp",
diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs
index aa415754dad..5a8f0b6d6db 100644
--- a/compiler/rustc_codegen_ssa/src/target_features.rs
+++ b/compiler/rustc_codegen_ssa/src/target_features.rs
@@ -33,7 +33,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
     ("thumb-mode", Some(sym::arm_target_feature)),
 ];
 
-// Commented features are not available in LLVM 9.0, or have since been renamed
+// Commented features are not available in LLVM 10.0, or have since been renamed
 const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
     // FEAT_AdvSimd
     ("neon", Some(sym::aarch64_target_feature)),
@@ -51,8 +51,6 @@ const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
     ("ras", Some(sym::aarch64_target_feature)),
     // FEAT_LSE
     ("lse", Some(sym::aarch64_target_feature)),
-    // FEAT_LSE2
-    // ("lse2", Some(sym::aarch64_target_feature)),
     // FEAT_RDM
     ("rdm", Some(sym::aarch64_target_feature)),
     // FEAT_RCPC