Skip to content

Commit

Permalink
Fix "fp" feature for AArch64
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Apr 10, 2018
1 parent 7678d50 commit 5e53746
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_trans/llvm_util.rs
Expand Up @@ -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,
}
Expand Down

0 comments on commit 5e53746

Please sign in to comment.