[CPU-Dispatch] Make pentium_iii_no_xmm_regs and pentium_iii alias.
authorErich Keane <erich.keane@intel.com>
Thu, 24 Jan 2019 15:28:57 +0000 (15:28 +0000)
committerErich Keane <erich.keane@intel.com>
Thu, 24 Jan 2019 15:28:57 +0000 (15:28 +0000)
commit9f6045111a845401d7189ea2a98a156e2d45773b
tree4403fd53282003644c1d4a1c13524034cf40e61c
parentbd069f424f51b8ca695417e020da617a01e87872
[CPU-Dispatch] Make pentium_iii_no_xmm_regs and pentium_iii alias.

I discovered that in ICC (where this list comes from), that the two
pentium_iii versions were actually identical despite the two different
names (despite them implying a difference). Because of this, they ended
up having identical manglings, which obviously caused problems when used
together.

This patch makes pentium_iii_no_xmm_regs an alias for pentium_iii so
that it can still be used, but has the same meaning as ICC. However, we
still prohibit using the two together which is different (albeit better)
behavior.

Change-Id: I4f3c9a47e48490c81525c8a3d23ed4201921b288
llvm-svn: 352054
clang/include/clang/Basic/X86Target.def
clang/test/Sema/attr-cpuspecific.c