Skip to content

Commit 72b83af

Browse files
committed
Re-enable LLVM 9 target features with LLVM 9 being the minimum now
With rust-lang#78848 merged, the minimum supported LLVM version is now 9 which means we can actually use the target features introduced in LLVM 9
1 parent 3daa93f commit 72b83af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_codegen_ssa/src/target_features.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const X86_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
5555
("aes", None),
5656
("avx", None),
5757
("avx2", None),
58-
//("avx512bf16", Some(sym::avx512_target_feature)), // this seems to be unsupported by the supported build with external LLVM 8, LLVM 9 should be sufficient though
58+
("avx512bf16", Some(sym::avx512_target_feature)),
5959
("avx512bitalg", Some(sym::avx512_target_feature)),
6060
("avx512bw", Some(sym::avx512_target_feature)),
6161
("avx512cd", Some(sym::avx512_target_feature)),
@@ -70,7 +70,7 @@ const X86_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
7070
("avx512vbmi2", Some(sym::avx512_target_feature)),
7171
("avx512vl", Some(sym::avx512_target_feature)),
7272
("avx512vnni", Some(sym::avx512_target_feature)),
73-
//("avx512vp2intersect", Some(sym::avx512_target_feature)), // this seems to be unsupported by the supported build with external LLVM 8, LLVM 9 should be sufficient though
73+
("avx512vp2intersect", Some(sym::avx512_target_feature)),
7474
("avx512vpclmulqdq", Some(sym::avx512_target_feature)),
7575
("avx512vpopcntdq", Some(sym::avx512_target_feature)),
7676
("bmi1", None),

0 commit comments

Comments
 (0)