Revert "[AArch64] Change the preferred alignment for char and short to word alignment"

This reverts commit r273280 as the change was not properly approved.

llvm-svn: 274766
This commit is contained in:
Chad Rosier 2016-07-07 16:37:19 +00:00
parent 490193d2e9
commit 3e68af8f3d
1 changed files with 2 additions and 2 deletions

View File

@ -5994,7 +5994,7 @@ class AArch64leTargetInfo : public AArch64TargetInfo {
if (getTriple().isOSBinFormatMachO())
resetDataLayout("e-m:o-i64:64-i128:128-n32:64-S128");
else
resetDataLayout("e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128");
resetDataLayout("e-m:e-i64:64-i128:128-n32:64-S128");
}
public:
@ -6012,7 +6012,7 @@ public:
class AArch64beTargetInfo : public AArch64TargetInfo {
void setDataLayout() override {
assert(!getTriple().isOSBinFormatMachO());
resetDataLayout("E-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128");
resetDataLayout("E-m:e-i64:64-i128:128-n32:64-S128");
}
public: