Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[X86] Fix test Clang::CodeGen/builtin-cpu-supports.c failure
The test failed after 8ad32ce In https://github.com/gcc-mirror/gcc/blob/master/gcc/common/config/i386/i386-cpuinfo.h FEATURE_AVX512CD = 23 and FEATURE_AVX512VBMI = 26, we should only add 2 features between them. New features should be inserted at the end.
- Loading branch information
4e0a0ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @FreddyLeaf . According to my understand, the number is position independent.
4e0a0ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Offline talked with him before I made this change.
4e0a0ea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two arbitrary
X86_FEATURE
need to be added betweenX86_FEATURE_COMPAT(AVX512CD,
andX86_FEATURE_COMPAT(AVX512VBMI,
to make their position fixed.