diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-16 18:01:51 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-16 18:01:51 +0000 |
commit | bccb9d45ad1e4b84258b3ba4ec6d1c1e8f633bb1 (patch) | |
tree | 4cb8c90da3e20796f4fa076b5e3bdb974554ac53 /llvm/lib/Target/Mips/MipsTargetMachine.cpp | |
parent | ef9a766555ca102fd5f1f8e6e3dcf01b66b5de16 (diff) | |
download | llvm-bccb9d45ad1e4b84258b3ba4ec6d1c1e8f633bb1.zip llvm-bccb9d45ad1e4b84258b3ba4ec6d1c1e8f633bb1.tar.gz llvm-bccb9d45ad1e4b84258b3ba4ec6d1c1e8f633bb1.tar.bz2 |
The preferred alignment defaults to the abi alignment. Omit if it is the same.
llvm-svn: 197400
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MipsTargetMachine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetMachine.cpp b/llvm/lib/Target/Mips/MipsTargetMachine.cpp index 30762c6..6cf6ae6 100644 --- a/llvm/lib/Target/Mips/MipsTargetMachine.cpp +++ b/llvm/lib/Target/Mips/MipsTargetMachine.cpp @@ -56,11 +56,11 @@ static std::string computeDataLayout(const MipsSubtarget &ST) { // Pointers are 32 bit on some ABIs. if (!ST.isABI_N64()) - Ret += "-p:32:32:32"; + Ret += "-p:32:32"; // 8 and 16 bit integers only need no have natural alignment, but try to // align them to 32 bits. 64 bit integers have natural alignment. - Ret += "-i8:8:32-i16:16:32-i64:64:64"; + Ret += "-i8:8:32-i16:16:32-i64:64"; // 32 bit registers are always available and the stack is at least 64 bit // aligned. On N64 64 bit registers are also available and the stack is |