1
Fork 0

Rollup merge of #49857 - Amanieu:aarch64_fp, r=alexcrichton

Fix "fp" target feature for AArch64

This fixes the following warning on AArch64:
```
'+fp' is not a recognized feature for this target (ignoring feature)
```

Fixes #49782
This commit is contained in:
kennytm 2018-04-12 01:00:56 +08:00
commit dfdcf63612
No known key found for this signature in database
GPG key ID: FEF6C8051D0E013C

View file

@ -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,
}