Skip to content

Commit 523b4d1

Browse files
committed
Remove LSE2
1 parent 3f5f54c commit 523b4d1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

compiler/rustc_codegen_llvm/src/llvm_util.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str {
153153
("aarch64", "fp") => "fp-armv8",
154154
("aarch64", "fp16") => "fullfp16",
155155
("aarch64", "fhm") => "fp16fml",
156-
("aarch64", "lse2") => "outline-atomics",
157156
("aarch64", "rcpc2") => "rcpc-immo",
158157
("aarch64", "dpb") => "ccpp",
159158
("aarch64", "dpb2") => "ccdp",

compiler/rustc_codegen_ssa/src/target_features.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
3333
("thumb-mode", Some(sym::arm_target_feature)),
3434
];
3535

36-
// Commented features are not available in LLVM 9.0, or have since been renamed
36+
// Commented features are not available in LLVM 10.0, or have since been renamed
3737
const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
3838
// FEAT_AdvSimd
3939
("neon", Some(sym::aarch64_target_feature)),
@@ -51,8 +51,6 @@ const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
5151
("ras", Some(sym::aarch64_target_feature)),
5252
// FEAT_LSE
5353
("lse", Some(sym::aarch64_target_feature)),
54-
// FEAT_LSE2
55-
// ("lse2", Some(sym::aarch64_target_feature)),
5654
// FEAT_RDM
5755
("rdm", Some(sym::aarch64_target_feature)),
5856
// FEAT_RCPC

0 commit comments

Comments
 (0)