Some Mips minor fixes

Added support for mips little endian arch => mipsel



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51923 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bruno Cardoso Lopes
2008-06-04 01:45:25 +00:00
parent 3094a4c97a
commit d2947ee33e
8 changed files with 48 additions and 15 deletions
+3 -2
View File
@@ -17,8 +17,9 @@
using namespace llvm;
MipsSubtarget::MipsSubtarget(const TargetMachine &TM, const Module &M,
const std::string &FS) :
IsMipsIII(false)
const std::string &FS, bool little) :
IsMipsIII(false),
IsLittle(little)
{
std::string CPU = "mips1";