From 5c1e8c53d78a93ec9feab50fa6049bb7a5b1567c Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Tue, 10 Apr 2018 22:34:15 +0100 Subject: [PATCH] Fix "fp" feature for AArch64 Gbp-Pq: Name u-fix-fp-target-warning.patch --- src/librustc_trans/llvm_util.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_trans/llvm_util.rs b/src/librustc_trans/llvm_util.rs index 1c8f09ce7b..ad128516a3 100644 --- a/src/librustc_trans/llvm_util.rs +++ b/src/librustc_trans/llvm_util.rs @@ -134,6 +134,7 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str { ("x86", "pclmulqdq") => "pclmul", ("x86", "rdrand") => "rdrnd", ("x86", "bmi1") => "bmi", + ("aarch64", "fp") => "fp-armv8", ("aarch64", "fp16") => "fullfp16", (_, s) => s, } -- 2.30.2