From 3ced545ccf22ce2d0c2a0b482a761194e3096d90 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 1 Dec 2011 18:24:17 +0000 Subject: Autodetect bulldozers. llvm-svn: 145607 --- llvm/lib/Support/Host.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Support/Host.cpp') diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp index a19e4b41189..86d1c5d3414 100644 --- a/llvm/lib/Support/Host.cpp +++ b/llvm/lib/Support/Host.cpp @@ -298,6 +298,8 @@ std::string sys::getHostCPUName() { } case 16: return "amdfam10"; + case 21: + return "bdver1"; default: return "generic"; } -- cgit v1.2.3