llvm.org GIT mirror llvm / ee1c054
[Falkor] Add falkor CPU to host detection This returns "falkor" for Falkor CPU. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313998 91177308-0d34-0410-b5e6-96231b3b80d8 Balaram Makam 1 year, 11 months ago
2 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
210210 .Case("0x211", "kryo")
211211 .Case("0x800", "cortex-a73")
212212 .Case("0x801", "cortex-a73")
213 .Case("0xc00", "falkor")
213214 .Default("generic");
214215
215216 return "generic";
110110 EXPECT_EQ(sys::detail::getHostCPUNameForARM("CPU implementer : 0x51\n"
111111 "CPU part : 0x801"),
112112 "cortex-a73");
113 EXPECT_EQ(sys::detail::getHostCPUNameForARM("CPU implementer : 0x51\n"
114 "CPU part : 0xc00"),
115 "falkor");
113116
114117 // MSM8992/4 weirdness
115118 StringRef MSM8992ProcCpuInfo = R"(