diff options
author | sephe <sephe@FreeBSD.org> | 2017-08-14 06:46:15 +0000 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2018-02-19 14:37:11 -0300 |
commit | cf2b1f5568d7328668ab821286d6b946275f8d6f (patch) | |
tree | 909889812cd6fa16c4d1040c885f3af0ad4bc725 /contrib/llvm/tools/clang/lib/CodeGen/CGCUDABuiltin.cpp | |
parent | f43c3967e3e3ee580a8542614291b6c1c93eed96 (diff) | |
download | FreeBSD-src-cf2b1f5568d7328668ab821286d6b946275f8d6f.zip FreeBSD-src-cf2b1f5568d7328668ab821286d6b946275f8d6f.tar.gz |
MFC 322323 by jkim
Split identify_cpu() into two functions for amd64 as we do for i386. This
reduces diff between amd64 and i386. Also, it fixes a regression introduced
in r322076, i.e., identify_hypervisor() failed to identify some hypervisors.
This function assumes cpu_feature2 is already initialized.
Reported by: dexuan
Tested by: dexuan
(cherry picked from commit 173ac9160e83a9396d44938ef9789b6e62e48e70)
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/CGCUDABuiltin.cpp')
0 files changed, 0 insertions, 0 deletions