Skip to content

Commit

Permalink
Fix warning with old LLVM
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Piolat committed Oct 26, 2024
1 parent c4438ae commit 67ba192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/inteli/internals.d
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ version(LDC)
enum LDC_with_AVX512VBMI = __traits(targetHasFeature, "avx512vbmi") && LDC_with_ia32_builtins;
enum LDC_with_AVX512VBMI2 = __traits(targetHasFeature, "avx512vbmi2") && LDC_with_ia32_builtins;

enum LDC_with_AVX512FP16 = __traits(targetHasFeature, "avx512fp16") && LDC_with_ia32_builtins;
enum LDC_with_AVX512FP16 = (__VERSION__ > 2101) && __traits(targetHasFeature, "avx512fp16") && LDC_with_ia32_builtins;
enum LDC_with_AVX512BF16 = __traits(targetHasFeature, "avx512bf16") && LDC_with_ia32_builtins;
enum LDC_with_AVX512VNNI = __traits(targetHasFeature, "avx512vnni") && LDC_with_ia32_builtins;
enum LDC_with_AVX512BITALG = __traits(targetHasFeature, "avx512bitalg") && LDC_with_ia32_builtins;
Expand Down

0 comments on commit 67ba192

Please sign in to comment.