Skip to content

Commit 5e53746

Browse files
committed
Fix "fp" feature for AArch64
1 parent 7678d50 commit 5e53746

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_trans/llvm_util.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str {
134134
("x86", "pclmulqdq") => "pclmul",
135135
("x86", "rdrand") => "rdrnd",
136136
("x86", "bmi1") => "bmi",
137+
("aarch64", "fp") => "fp-armv8",
137138
("aarch64", "fp16") => "fullfp16",
138139
(_, s) => s,
139140
}

0 commit comments

Comments
 (0)