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:
Rafael Espindola
2013-12-16 17:15:29 +00:00
parent fe8eb63fcb
commit 7ef5520e8c
8 changed files with 11 additions and 23 deletions

View File

@ -54,10 +54,8 @@ static std::string computeDataLayout(const MipsSubtarget &ST) {
else
Ret += "E";
// Pointers are 64 or 32 bit depending on the ABI.
if (ST.isABI_N64())
Ret += "-p:64:64:64";
else
// Pointers are 32 bit on some ABIs.
if (!ST.isABI_N64())
Ret += "-p:32:32:32";
// 8 and 16 bit integers only need no have natural alignment, but try to