[llvm] r217786 - Add unit test for r217454
Ed Maste
emaste at freebsd.org
Mon Sep 15 09:57:12 PDT 2014
Author: emaste
Date: Mon Sep 15 11:57:12 2014
New Revision: 217786
URL: http://llvm.org/viewvc/llvm-project?rev=217786&view=rev
Log:
Add unit test for r217454
Modified:
llvm/trunk/unittests/ADT/TripleTest.cpp
Modified: llvm/trunk/unittests/ADT/TripleTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/TripleTest.cpp?rev=217786&r1=217785&r2=217786&view=diff
==============================================================================
--- llvm/trunk/unittests/ADT/TripleTest.cpp (original)
+++ llvm/trunk/unittests/ADT/TripleTest.cpp Mon Sep 15 11:57:12 2014
@@ -567,6 +567,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());
}
More information about the llvm-commits
mailing list