diff options
author | Richard Osborne <richard@xmos.com> | 2009-08-31 21:51:36 +0000 |
---|---|---|
committer | Richard Osborne <richard@xmos.com> | 2009-08-31 21:51:36 +0000 |
commit | 768f1dd48fbc1582213271f2698a0328d03d4d7e (patch) | |
tree | a29508b637f574847ca8eb8f9a7f0e30ff9d2d77 /lib/Support/Triple.cpp | |
parent | c9f322d9a62c57ba965678a874faad6d239b9256 (diff) |
Add triple parsing support for XCore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Triple.cpp')
-rw-r--r-- | lib/Support/Triple.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index c4792e3efd..8b482473a5 100644 --- a/lib/Support/Triple.cpp +++ b/lib/Support/Triple.cpp @@ -186,6 +186,8 @@ void Triple::Parse() const { Arch = systemz; else if (ArchName == "tce") Arch = tce; + else if (ArchName == "xcore") + Arch = xcore; else Arch = UnknownArch; |