Skip to content

Commit ca632c9

Browse files
author
Chad Rosier
committed
Revert "[AArch64] Change the preferred alignment for char and short to word alignment"
This reverts commit r273279 as the change was not properly approved. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274768 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 2e53b18 commit ca632c9

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

lib/Target/AArch64/AArch64TargetMachine.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ static std::string computeDataLayout(const Triple &TT, bool LittleEndian) {
133133
if (TT.isOSBinFormatMachO())
134134
return "e-m:o-i64:64-i128:128-n32:64-S128";
135135
if (LittleEndian)
136-
return "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128";
137-
return "E-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128";
136+
return "e-m:e-i64:64-i128:128-n32:64-S128";
137+
return "E-m:e-i64:64-i128:128-n32:64-S128";
138138
}
139139

140140
// Helper function to set up the defaults for reciprocals.

test/CodeGen/AArch64/preferred-alignment.ll

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)