mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-03 00:33:09 +00:00
Double and Long preferred alignment is 4 for Darwin, 8 for Linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33440 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2576f13645
commit
d44ecd86e7
@ -33,7 +33,11 @@ namespace {
|
||||
/// TargetMachine ctor - Create an ILP32 architecture model
|
||||
///
|
||||
ARMTargetMachine::ARMTargetMachine(const Module &M, const std::string &FS)
|
||||
: Subtarget(M, FS), DataLayout("e-p:32:32-d:32"), InstrInfo(Subtarget),
|
||||
: 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")),
|
||||
InstrInfo(Subtarget),
|
||||
FrameInfo(Subtarget) {}
|
||||
|
||||
unsigned ARMTargetMachine::getModuleMatchQuality(const Module &M) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user