forked from OSchip/llvm-project
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:
parent
490193d2e9
commit
3e68af8f3d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue