summaryrefslogtreecommitdiff
path: root/lib/Target/Mips
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-07 19:07:32 +0000
committerChris Lattner <sabre@nondot.org>2009-11-07 19:07:32 +0000
commit59a9178fbedb88427c8ff9e5fa7a8f2038f80a2e (patch)
tree5a5f825f89868e83578185abf5e47df6757441bb /lib/Target/Mips
parent9e496d223102cb3d5e37c513a697e30532e71bc0 (diff)
downloadllvm-59a9178fbedb88427c8ff9e5fa7a8f2038f80a2e.tar.gz
llvm-59a9178fbedb88427c8ff9e5fa7a8f2038f80a2e.tar.bz2
llvm-59a9178fbedb88427c8ff9e5fa7a8f2038f80a2e.tar.xz
indicate what the native integer types for the target are.
Please verify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86397 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r--lib/Target/Mips/MipsTargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsTargetMachine.cpp b/lib/Target/Mips/MipsTargetMachine.cpp
index 4fa5450df1..b3c2313079 100644
--- a/lib/Target/Mips/MipsTargetMachine.cpp
+++ b/lib/Target/Mips/MipsTargetMachine.cpp
@@ -38,8 +38,8 @@ MipsTargetMachine(const Target &T, const std::string &TT, const std::string &FS,
bool isLittle=false):
LLVMTargetMachine(T, TT),
Subtarget(TT, FS, isLittle),
- DataLayout(isLittle ? std::string("e-p:32:32:32-i8:8:32-i16:16:32") :
- std::string("E-p:32:32:32-i8:8:32-i16:16:32")),
+ DataLayout(isLittle ? std::string("e-p:32:32:32-i8:8:32-i16:16:32-n32") :
+ std::string("E-p:32:32:32-i8:8:32-i16:16:32-n32")),
InstrInfo(*this),
FrameInfo(TargetFrameInfo::StackGrowsUp, 8, 0),
TLInfo(*this) {