diff options
author | Craig Topper <craig.topper@intel.com> | 2017-07-19 22:58:58 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-07-19 22:58:58 +0000 |
commit | f4040a42bf2ce5e3ee54047c88ee7bb6b29f3044 (patch) | |
tree | ca05a09dbb7f851e36419a0f4bed3abbb86eb980 /lib/Basic/Targets.cpp | |
parent | 4986d610cf639aefcb6559eb17b568a5e1077de8 (diff) |
[X86] Put avx512vpopcntdq in the right spot in the validateCpuSupports string switch.
The validateCpuSupports switch is in the order of the enum defined in CGBuiltin.cpp and libgcc/compiler-rt.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 605b98c532..8a5c47b340 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -4414,11 +4414,11 @@ bool X86TargetInfo::validateCpuSupports(StringRef FeatureStr) const { .Case("avx512bw", true) .Case("avx512dq", true) .Case("avx512cd", true) - .Case("avx512vpopcntdq", true) .Case("avx512er", true) .Case("avx512pf", true) .Case("avx512vbmi", true) .Case("avx512ifma", true) + .Case("avx512vpopcntdq", true) .Default(false); } |