ARM AAPCS abi (Linux, etc.) requires 8-byte double / long alignment; Mac

requires 4-bytes alignment.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33448 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2007-01-22 23:13:01 +00:00
parent 74fc22d484
commit aa3e123ebb

View File

@ -35,8 +35,8 @@ namespace {
ARMTargetMachine::ARMTargetMachine(const Module &M, const std::string &FS)
: Subtarget(M, FS),
DataLayout(Subtarget.isTargetDarwin() ?
std::string("e-p:32:32-d:32-l:32") :
std::string("e-p:32:32-d:64-l:64")),
std::string("e-p:32:32-d:32:32-l:32:32") :
std::string("e-p:32:32-d:32:64-l:32:64")),
InstrInfo(Subtarget),
FrameInfo(Subtarget) {}