mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Use proper target data
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -32,7 +32,7 @@ MSP430TargetMachine::MSP430TargetMachine(const Target &T,
|
|||||||
LLVMTargetMachine(T, TT),
|
LLVMTargetMachine(T, TT),
|
||||||
Subtarget(TT, FS),
|
Subtarget(TT, FS),
|
||||||
// FIXME: Check TargetData string.
|
// FIXME: Check TargetData string.
|
||||||
DataLayout("e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"),
|
DataLayout("e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32"),
|
||||||
InstrInfo(*this), TLInfo(*this),
|
InstrInfo(*this), TLInfo(*this),
|
||||||
FrameInfo(TargetFrameInfo::StackGrowsDown, 2, -2) { }
|
FrameInfo(TargetFrameInfo::StackGrowsDown, 2, -2) { }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user