diff options
author | Akira Hatanaka <ahatanak@gmail.com> | 2011-09-21 03:00:58 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanak@gmail.com> | 2011-09-21 03:00:58 +0000 |
commit | 2464810ac27af8dd8b11da7519b719c254854c19 (patch) | |
tree | 5c47de78ef8df2b090fb4d088131ca9699a6ed1a /lib/Target/Mips/TargetInfo | |
parent | 8c1b4bf0669738ce96be541c3a08c0d9ff6dab91 (diff) | |
download | external_llvm-2464810ac27af8dd8b11da7519b719c254854c19.zip external_llvm-2464810ac27af8dd8b11da7519b719c254854c19.tar.gz external_llvm-2464810ac27af8dd8b11da7519b719c254854c19.tar.bz2 |
Add a base class for Mips TargetMachines and add Mips64 TargetMachines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140233 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/TargetInfo')
-rw-r--r-- | lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp b/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp index b5821d4..243632b 100644 --- a/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp +++ b/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp @@ -13,6 +13,7 @@ using namespace llvm; Target llvm::TheMipsTarget, llvm::TheMipselTarget; +Target llvm::TheMips64Target, llvm::TheMips64elTarget; extern "C" void LLVMInitializeMipsTargetInfo() { RegisterTarget<Triple::mips, @@ -20,4 +21,11 @@ extern "C" void LLVMInitializeMipsTargetInfo() { RegisterTarget<Triple::mipsel, /*HasJIT=*/true> Y(TheMipselTarget, "mipsel", "Mipsel"); + + RegisterTarget<Triple::mips64, + /*HasJIT=*/false> A(TheMips64Target, "mips64", "Mips64 [experimental]"); + + RegisterTarget<Triple::mips64el, + /*HasJIT=*/false> B(TheMips64elTarget, + "mips64el", "Mips64el [experimental]"); } |