diff options
author | Nikita Popov <npopov@redhat.com> | 2025-07-01 09:06:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-01 09:06:41 +0200 |
commit | 7e830f76711f0dfc66780ea13cf780b8760b458b (patch) | |
tree | 9bbef57f1707166f0c59e9b2c64dd372e2b13f9d /llvm/lib/MC/MachObjectWriter.cpp | |
parent | c5e4546a01195fd278c65cb989882a349f4d9f8d (diff) | |
download | llvm-7e830f76711f0dfc66780ea13cf780b8760b458b.zip llvm-7e830f76711f0dfc66780ea13cf780b8760b458b.tar.gz llvm-7e830f76711f0dfc66780ea13cf780b8760b458b.tar.bz2 |
[Clang] Partially fix m68k alignments (#144740)
As the data layout a few lines further up specifies, the int, long and
pointer alignment should be 16 instead of the default of 32.
The long long alignment is also incorrect, but that would require a
change to the data layout as well.
Comparison with GCC, which consistently uses 2 byte alignment:
https://gcc.godbolt.org/z/K3x6a7dEf At least based on some spot checks,
the changes to bit field layout also make use match GCC now.
This was found by https://github.com/llvm/llvm-project/pull/144720.
Diffstat (limited to 'llvm/lib/MC/MachObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions