From: Torok Edwin Date: Mon, 14 Dec 2009 12:38:18 +0000 (+0000) Subject: Add "generic" fallback. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=546d8d0e3eca2eb96615e42f5a8139e15bdfb496 Add "generic" fallback. gcc warned that the function may not have a return value, indeed for non-intel and non-amd X86 CPUs it is right (VIA, etc.). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91276 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/System/Host.cpp b/lib/System/Host.cpp index 3196a63b850..79897e48bda 100644 --- a/lib/System/Host.cpp +++ b/lib/System/Host.cpp @@ -292,6 +292,7 @@ std::string sys::getHostCPUName() { return "generic"; } } + return "generic"; } #else std::string sys::getHostCPUName() {