From 30815c536baacc07e925f0aef23a5395883173dc Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Thu, 20 Oct 2011 21:10:27 +0000 Subject: Vendor import of llvm release_30 branch r142614: http://llvm.org/svn/llvm-project/llvm/branches/release_30@142614 --- lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp') diff --git a/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp b/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp index a8d6fe94b1ad8..243632b20aac0 100644 --- a/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp +++ b/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp @@ -9,13 +9,23 @@ #include "Mips.h" #include "llvm/Module.h" -#include "llvm/Target/TargetRegistry.h" +#include "llvm/Support/TargetRegistry.h" using namespace llvm; Target llvm::TheMipsTarget, llvm::TheMipselTarget; +Target llvm::TheMips64Target, llvm::TheMips64elTarget; extern "C" void LLVMInitializeMipsTargetInfo() { - RegisterTarget X(TheMipsTarget, "mips", "Mips"); + RegisterTarget X(TheMipsTarget, "mips", "Mips"); - RegisterTarget Y(TheMipselTarget, "mipsel", "Mipsel"); + RegisterTarget Y(TheMipselTarget, "mipsel", "Mipsel"); + + RegisterTarget A(TheMips64Target, "mips64", "Mips64 [experimental]"); + + RegisterTarget B(TheMips64elTarget, + "mips64el", "Mips64el [experimental]"); } -- cgit v1.2.3