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 | 9377b9fa693606f2de9fd5582e9453a7e20e18cc (patch) | |
tree | c8345043aec7ac1f77d14d1a5a801a4dc3509142 /clang/lib/Basic | |
parent | e00ffbcbc40ea1cd8fc18962dd2077baefe6e415 (diff) | |
download | bcm5719-llvm-9377b9fa693606f2de9fd5582e9453a7e20e18cc.tar.gz bcm5719-llvm-9377b9fa693606f2de9fd5582e9453a7e20e18cc.zip |
[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.
llvm-svn: 308546
Diffstat (limited to 'clang/lib/Basic')
-rw-r--r-- | clang/lib/Basic/Targets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 605b98c5320..8a5c47b3401 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/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); } |