[llvm-commits] [llvm] r131642 - /llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp
Akira Hatanaka
ahatanak at gmail.com
Thu May 19 10:21:09 PDT 2011
Author: ahatanak
Date: Thu May 19 12:21:09 2011
New Revision: 131642
URL: http://llvm.org/viewvc/llvm-project?rev=131642&view=rev
Log:
Fix data layout string. i64 is aligned to 64 bit boundaries.
Modified:
llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp?rev=131642&r1=131641&r2=131642&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp Thu May 19 12:21:09 2011
@@ -38,8 +38,9 @@
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-n32") :
- std::string("E-p:32:32:32-i8:8:32-i16:16:32-n32")),
+ DataLayout(isLittle ?
+ std::string("e-p:32:32:32-i8:8:32-i16:16:32-i64:64:64-n32") :
+ std::string("E-p:32:32:32-i8:8:32-i16:16:32-i64:64:64-n32")),
InstrInfo(*this),
FrameLowering(Subtarget),
TLInfo(*this), TSInfo(*this) {
More information about the llvm-commits
mailing list