From: Ed Maste Date: Mon, 15 Sep 2014 16:57:12 +0000 (+0000) Subject: Add unit test for r217454 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=399ee93908589e2ba65294f79e33827ab030555a;p=oota-llvm.git Add unit test for r217454 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217786 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ADT/TripleTest.cpp b/unittests/ADT/TripleTest.cpp index 2a49afc27fa..784dbe8c70f 100644 --- a/unittests/ADT/TripleTest.cpp +++ b/unittests/ADT/TripleTest.cpp @@ -566,6 +566,10 @@ TEST(TripleTest, NormalizeWindows) { } TEST(TripleTest, getARMCPUForArch) { + { + llvm::Triple Triple("armv6-unknown-freebsd"); + EXPECT_STREQ("arm1176jzf-s", Triple.getARMCPUForArch()); + } { llvm::Triple Triple("armv7s-apple-ios7"); EXPECT_STREQ("swift", Triple.getARMCPUForArch());