diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2008-06-04 01:45:25 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2008-06-04 01:45:25 +0000 |
commit | d2947ee33e810b24a016b944b375d34910f8f5dd (patch) | |
tree | 6249e99c30fd25c44a29226ac6ec053d772bdd05 /lib/Target/Mips/MipsSubtarget.cpp | |
parent | 3094a4c97af4e81ff3bf9eea1997b86886dffcf2 (diff) |
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
Diffstat (limited to 'lib/Target/Mips/MipsSubtarget.cpp')
-rw-r--r-- | lib/Target/Mips/MipsSubtarget.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.cpp b/lib/Target/Mips/MipsSubtarget.cpp index e78b5cb300..2bfb82a310 100644 --- a/lib/Target/Mips/MipsSubtarget.cpp +++ b/lib/Target/Mips/MipsSubtarget.cpp @@ -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"; |