mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Add unit test for r217454
llvm-svn: 217786
This commit is contained in:
parent
8e07f5aa14
commit
98616ed207
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user