Skip to content

Commit c71e58d

Browse files
committed
Rename fptoint to frintts
1 parent 523b4d1 commit c71e58d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

compiler/rustc_codegen_llvm/src/llvm_util.rs

+1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str {
156156
("aarch64", "rcpc2") => "rcpc-immo",
157157
("aarch64", "dpb") => "ccpp",
158158
("aarch64", "dpb2") => "ccdp",
159+
("aarch64", "frintts") => "fptoint",
159160
("aarch64", "fcma") => "complxnum",
160161
(_, s) => s,
161162
}

compiler/rustc_codegen_ssa/src/target_features.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
8888
// FEAT_SVE2_BitPerm
8989
("sve2-bitperm", Some(sym::aarch64_target_feature)),
9090
// FEAT_FRINTTS
91-
("fptoint", Some(sym::aarch64_target_feature)),
91+
("frintts", Some(sym::aarch64_target_feature)),
9292
// FEAT_I8MM
9393
// ("i8mm", Some(sym::aarch64_target_feature)),
9494
// FEAT_F32MM

0 commit comments

Comments
 (0)