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 | ae3c300625a14419a7594d405355598e066428cc (patch) | |
tree | f5bd7a36e0e572e69023e303dc6f62242e1b3c64 /llvm/lib/Support | |
parent | 07ce7d8fb5dbefc07d934953be71b8644e7aa1f4 (diff) | |
download | bcm5719-llvm-ae3c300625a14419a7594d405355598e066428cc.tar.gz bcm5719-llvm-ae3c300625a14419a7594d405355598e066428cc.zip |
Enable automatic GCC<->LLVM intrinsic translation for mips.
llvm-svn: 159367
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/Triple.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index 822ada7d9be..7b26ea9b422 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/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"; |