diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp index 8a02a86a574a..ec51314fcbe1 100644 --- a/llvm/lib/Support/Host.cpp +++ b/llvm/lib/Support/Host.cpp @@ -189,6 +189,7 @@ StringRef sys::detail::getHostCPUNameForARM( .Case("0xc20", "cortex-m0") .Case("0xc23", "cortex-m3") .Case("0xc24", "cortex-m4") + .Case("0xd04", "cortex-a35") .Case("0xd03", "cortex-a53") .Case("0xd07", "cortex-a57") .Case("0xd08", "cortex-a72") @@ -196,17 +197,6 @@ StringRef sys::detail::getHostCPUNameForARM( .Default("generic"); } - if (Implementer == "0x50") // Applied Micro Circuits Corporation (APM). - // Look for the CPU part line. - for (unsigned I = 0, E = Lines.size(); I != E; ++I) - if (Lines[I].startswith("CPU part")) - // The CPU part is a 3 digit hexadecimal number with a 0x prefix. The - // values correspond to the "Part number" in the CP15/c0 register. The - // contents are specified in the various processor manuals. - return StringSwitch(Lines[I].substr(8).ltrim("\t :")) - .Case("0x000", "xgene1") - .Default("generic"); - if (Implementer == "0x51") // Qualcomm Technologies, Inc. // Look for the CPU part line. for (unsigned I = 0, E = Lines.size(); I != E; ++I)