Update compiler/rustc_codegen_llvm/src/llvm_util.rs

Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
This commit is contained in:
Caleb Zulawski 2022-11-12 10:28:06 -05:00
parent d7152f8eec
commit 11224000e8
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ pub fn to_llvm_features<'a>(sess: &Session, s: &'a str) -> SmallVec<[&'a str; 2]
("x86", "bmi1") => smallvec!["bmi"],
("x86", "cmpxchg16b") => smallvec!["cx16"],
// FIXME: These aliases are misleading, and should be removed before avx512_target_feature is
// stabilized. For now, they must be kept at a minimum because std::arch uses them.
// stabilized. They must remain until std::arch switches off them.
// rust#100752
("x86", "avx512vaes") => smallvec!["vaes"],
("x86", "avx512gfni") => smallvec!["gfni"],