diff options
Diffstat (limited to 'llvm/unittests/Support/Host.cpp')
-rw-r--r-- | llvm/unittests/Support/Host.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/unittests/Support/Host.cpp b/llvm/unittests/Support/Host.cpp index 623591803e0..0d257a70591 100644 --- a/llvm/unittests/Support/Host.cpp +++ b/llvm/unittests/Support/Host.cpp @@ -242,6 +242,11 @@ CPU part : 0x0a1 "CPU implementer : 0x43\n" "CPU part : 0xa1"), "thunderxt88"); + + // Verify HiSilicon processors. + EXPECT_EQ(sys::detail::getHostCPUNameForARM("CPU implementer : 0x48\n" + "CPU part : 0xd01"), + "tsv110"); } #if defined(__APPLE__) |