]> granicus.if.org Git - clang/commit
[X86] Use the CPUKind enum from PROC_ALIAS to directly get the CPUKind in fillValidCP...
authorCraig Topper <craig.topper@intel.com>
Thu, 21 Mar 2019 17:33:20 +0000 (17:33 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 21 Mar 2019 17:33:20 +0000 (17:33 +0000)
commit83386471224da56316d3de126587377a95d54c69
tree183b192ca42523c3b19179dbc50297a95f314cd7
parentb6d6adc5699edc736c164d46847e894a3f6695b3
[X86] Use the CPUKind enum from PROC_ALIAS to directly get the CPUKind in fillValidCPUList.

We were using getCPUKind which translates the string to the enum also using PROC_ALIAS. This just cuts out the string compares.

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