summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2016-06-09 23:04:15 +0000
committerAlina Sbirlea <asbirlea@google.com>2016-06-09 23:04:15 +0000
commitd665b410c6e0d0c8960d23bcb730332057f5e0e8 (patch)
treeca581ab1828d429f7c4e7f6d351a449786491f98 /llvm/lib/Transforms
parente0b7bf42c2141b325458bb5181f51f151ec6f202 (diff)
downloadbcm5719-llvm-d665b410c6e0d0c8960d23bcb730332057f5e0e8.tar.gz
bcm5719-llvm-d665b410c6e0d0c8960d23bcb730332057f5e0e8.zip
Reapply 272328 and 272329 as a single patch.
[cpu-detection] [amdfam10] Return barcelona, and amdfam10 for all other subtypes. Address Bug 28067. Along with the refactoring of Host.cpp, getHostCPUName() was modified to return more precise types for CPUs in amdfam10. However, callers of getHostCPUName() do string matching on type, so this cannot be modified. Currently there is support in the x86 backend for barcelona. For all other subtypes the assumed return value is amdfam10. Fix: getHostCPUName() returns barcelona subtype and amdfam10 for all others. This can be extended further when support for the other subtypes is added. Differential revision: http://reviews.llvm.org/D21193 llvm-svn: 272333
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud