]> git.lizzy.rs Git - rust.git/commitdiff
Rename fptoint to frintts
authorAdam Gemmell <adam.gemmell@arm.com>
Wed, 19 May 2021 15:12:30 +0000 (16:12 +0100)
committerAdam Gemmell <adam.gemmell@arm.com>
Wed, 19 May 2021 15:12:30 +0000 (16:12 +0100)
compiler/rustc_codegen_llvm/src/llvm_util.rs
compiler/rustc_codegen_ssa/src/target_features.rs

index c734d3e0af93d4c1f54a40081a2f167591d9e7bc..6394f15f6a92d3b38393bf6015ed02e7c13ef2a9 100644 (file)
@@ -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,
     }
index 5a8f0b6d6dbadc4d700657de31a1601c906b2f49..646f21fa10fbba9244e9caa02e3e73bc8c13bd03 100644 (file)
@@ -88,7 +88,7 @@
     // 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