mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
On DataLayout, omit the default of p:64:64:64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197397 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -27,10 +27,8 @@ static std::string computeDataLayout(const SparcSubtarget &ST) {
|
||||
// Sparc is big endian.
|
||||
std::string Ret = "E";
|
||||
|
||||
// V9 has 64 bit pointers, others have 32bit pointers.
|
||||
if (ST.is64Bit())
|
||||
Ret += "-p:64:64:64";
|
||||
else
|
||||
// Some ABIs have 32bit pointers.
|
||||
if (!ST.is64Bit())
|
||||
Ret += "-p:32:32:32";
|
||||
|
||||
// Alignments for 64 bit integers.
|
||||
|
Reference in New Issue
Block a user