diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2013-05-14 17:47:27 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2013-05-14 17:47:27 +0000 |
commit | abc3d23ccb28bc686b182911a5f6a1ee2191abb9 (patch) | |
tree | 42a2f37d513c1775645c4f757b7067000eca5953 /llvm/lib | |
parent | eea37eed5d885dfdcf55c5582a85e79a35ef5c5b (diff) | |
download | bcm5719-llvm-abc3d23ccb28bc686b182911a5f6a1ee2191abb9.tar.gz bcm5719-llvm-abc3d23ccb28bc686b182911a5f6a1ee2191abb9.zip |
Recognize sparc64 as an alias for sparcv9 triples.
Patch by Brad Smith!
llvm-svn: 181808
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Support/Triple.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index 412e34ccc59..7c02ffb4ac7 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/lib/Support/Triple.cpp @@ -239,7 +239,7 @@ static Triple::ArchType parseArch(StringRef ArchName) { .Case("hexagon", Triple::hexagon) .Case("s390x", Triple::systemz) .Case("sparc", Triple::sparc) - .Case("sparcv9", Triple::sparcv9) + .Cases("sparcv9", "sparc64", Triple::sparcv9) .Case("tce", Triple::tce) .Case("xcore", Triple::xcore) .Case("nvptx", Triple::nvptx) |