diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-28 19:09:53 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-28 19:09:53 +0000 |
commit | d5dbc8c2bb2a7803c6bb458278728d419300dc91 (patch) | |
tree | 313370f2d5d3c1a356818534a959456b33b50d57 /lib/Support/Triple.cpp | |
parent | c71da6662a152c5d9dceab696c13359534f44c10 (diff) |
Enable automatic GCC<->LLVM intrinsic translation for mips.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159367 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Triple.cpp')
-rw-r--r-- | lib/Support/Triple.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index 822ada7d9b..7b26ea9b42 100644 --- a/lib/Support/Triple.cpp +++ b/lib/Support/Triple.cpp @@ -62,7 +62,12 @@ const char *Triple::getArchTypePrefix(ArchType Kind) { case mblaze: return "mblaze"; - case hexagon: return "hexagon"; + case mips: + case mipsel: + case mips64: + case mips64el:return "mips"; + + case hexagon: return "hexagon"; case r600: return "r600"; |