]> granicus.if.org Git - clang/commit
Correct hasFeature/isValidFeatureName's handling of shstk/adx/mwaitx
authorErich Keane <erich.keane@intel.com>
Thu, 21 Dec 2017 23:27:36 +0000 (23:27 +0000)
committerErich Keane <erich.keane@intel.com>
Thu, 21 Dec 2017 23:27:36 +0000 (23:27 +0000)
commit05a54a3ef8af7878dda2e804b75b4424c2c8944f
tree58a3ff330f063b73e27d56b4439a65856a6c6b9e
parent6de847a4e112fb6a448667a369ca38651b81fb1a
Correct hasFeature/isValidFeatureName's handling of shstk/adx/mwaitx

https://bugs.llvm.org/show_bug.cgi?id=35721 reports that x86intrin.h
is issuing a few warnings. This is because attribute target is using
isValidFeatureName for its source. It was also discovered that two of
these were missing from hasFeature.

Additionally, shstk is and ibu are reordered alphabetically, as came
up during code review.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321324 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets/X86.cpp