aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-07-08 06:44:36 +0000
committerCraig Topper <craig.topper@intel.com>2017-07-08 06:44:36 +0000
commitffe672d20072c803d73c45b51588b1b4377c574b (patch)
tree8039825758e0a1d183a56b08de4ef46f74b63eed /clang/lib/CodeGen/CodeGenModule.h
parent1f9d3c0612b57016760ccb10df009e5ac188c5a5 (diff)
downloadllvm-ffe672d20072c803d73c45b51588b1b4377c574b.zip
llvm-ffe672d20072c803d73c45b51588b1b4377c574b.tar.gz
llvm-ffe672d20072c803d73c45b51588b1b4377c574b.tar.bz2
[X86] In getHostCPUName, remove some code that changes some AMD CPU names based on features not being enabled.
The CPU name is really just used for scheduler and other microarchitectural optimizations. The feature flags should be determined by getHostCPUFeatures which should always be used with getHostCPUName. Trying to alter CPU name strings to control features just isn't practical. Most of these types of things were removed from Intel CPUs a while ago. This is part of my plan to bring compiler-rt's cpu_model.c file up to date with the equivalent functionality in libgcc. A lot of the code in that file is copied from Host.cpp and we want to keep them reasonably in sync. llvm-svn: 307467
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions