Revert CPU detection code to return "generic" instead of an empty string in case
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 17 Nov 2009 17:57:04 +0000 (17:57 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 17 Nov 2009 17:57:04 +0000 (17:57 +0000)
commit110e7bb25cab03b6f7051a336233699f3e3ec1e3
tree3875d8cd1c9c9a1227f95ce87270fe1efdb20a98
parent56a1f806aff00a8be6db4eb5c9cd5c751ff0f4c1
Revert CPU detection code to return "generic" instead of an empty string in case
of failure. The x86 target didn't like empty cpu names and broke x86 tests on
non-x86 buildbots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89111 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/CommandLine.cpp
lib/System/Host.cpp