[X86] Initialize Type and Subtype in getHostCPUName to 0.
llvm-svn: 317341
This commit is contained in:
parent
58e9a0bb16
commit
741e7e6a71
|
@ -1057,8 +1057,8 @@ StringRef sys::getHostCPUName() {
|
|||
detectX86FamilyModel(EAX, &Family, &Model);
|
||||
getAvailableFeatures(ECX, EDX, MaxLeaf, &Features, &Features2);
|
||||
|
||||
unsigned Type;
|
||||
unsigned Subtype;
|
||||
unsigned Type = 0;
|
||||
unsigned Subtype = 0;
|
||||
|
||||
if (Vendor == SIG_INTEL) {
|
||||
getIntelProcessorTypeAndSubtype(Family, Model, Brand_id, Features,
|
||||
|
|
Loading…
Reference in New Issue