mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-12 17:37:13 +00:00
Fix data layout string. i64 is aligned to 64 bit boundaries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131642 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6dcf3c514
commit
d48cfaec35
@ -38,8 +38,9 @@ MipsTargetMachine(const Target &T, const std::string &TT, const std::string &FS,
|
|||||||
bool isLittle=false):
|
bool isLittle=false):
|
||||||
LLVMTargetMachine(T, TT),
|
LLVMTargetMachine(T, TT),
|
||||||
Subtarget(TT, FS, isLittle),
|
Subtarget(TT, FS, isLittle),
|
||||||
DataLayout(isLittle ? 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-n32")),
|
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),
|
InstrInfo(*this),
|
||||||
FrameLowering(Subtarget),
|
FrameLowering(Subtarget),
|
||||||
TLInfo(*this), TSInfo(*this) {
|
TLInfo(*this), TSInfo(*this) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user