diff options
| author | Adam Gemmell <adam.gemmell@arm.com> | 2021-05-19 16:12:30 +0100 |
|---|---|---|
| committer | Adam Gemmell <adam.gemmell@arm.com> | 2021-05-19 16:12:30 +0100 |
| commit | c71e58d432447d29cbcb99b19b48e43a9913dcc1 (patch) | |
| tree | 19d09e2354dfc0b9374b06cad5ab3f70405f6cfa | |
| parent | 523b4d149966a284101cc823167e637b6be9a10a (diff) | |
| download | rust-c71e58d432447d29cbcb99b19b48e43a9913dcc1.tar.gz rust-c71e58d432447d29cbcb99b19b48e43a9913dcc1.zip | |
Rename fptoint to frintts
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm_util.rs | 1 | ||||
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/target_features.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index c734d3e0af9..6394f15f6a9 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -156,6 +156,7 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str { ("aarch64", "rcpc2") => "rcpc-immo", ("aarch64", "dpb") => "ccpp", ("aarch64", "dpb2") => "ccdp", + ("aarch64", "frintts") => "fptoint", ("aarch64", "fcma") => "complxnum", (_, s) => s, } diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs index 5a8f0b6d6db..646f21fa10f 100644 --- a/compiler/rustc_codegen_ssa/src/target_features.rs +++ b/compiler/rustc_codegen_ssa/src/target_features.rs @@ -88,7 +88,7 @@ const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[ // FEAT_SVE2_BitPerm ("sve2-bitperm", Some(sym::aarch64_target_feature)), // FEAT_FRINTTS - ("fptoint", Some(sym::aarch64_target_feature)), + ("frintts", Some(sym::aarch64_target_feature)), // FEAT_I8MM // ("i8mm", Some(sym::aarch64_target_feature)), // FEAT_F32MM |
