summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2013-05-14 17:47:27 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2013-05-14 17:47:27 +0000
commitbc3db03bf0931c0b1d8ed9fe733771c7fceb66f8 (patch)
treeb91b8eaea6979d007fb011fc6ba404e000198d4e /lib
parent36e1b5143843009cabdb1c27d97ed55ab16e376d (diff)
downloadexternal_llvm-bc3db03bf0931c0b1d8ed9fe733771c7fceb66f8.zip
external_llvm-bc3db03bf0931c0b1d8ed9fe733771c7fceb66f8.tar.gz
external_llvm-bc3db03bf0931c0b1d8ed9fe733771c7fceb66f8.tar.bz2
Recognize sparc64 as an alias for sparcv9 triples.
Patch by Brad Smith! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181808 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Support/Triple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp
index 412e34c..7c02ffb 100644
--- a/lib/Support/Triple.cpp
+++ b/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)