diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-10-26 19:26:45 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-10-26 19:26:45 +0000 |
commit | 6822bd79ac43f267613f1615bf60407103e24dba (patch) | |
tree | 3f29df66730f2992292de2bfd5e2913696043b6f /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 9e22b4c76d7214002e446d28b5fa31102b529e99 (diff) | |
download | bcm5719-llvm-6822bd79ac43f267613f1615bf60407103e24dba.tar.gz bcm5719-llvm-6822bd79ac43f267613f1615bf60407103e24dba.zip |
PR26547: alignof should return ABI alignment, not preferred alignment
Summary:
- Add `UETT_PreferredAlignOf` to account for the difference between `__alignof` and `alignof`
- `AlignOfType` now returns ABI alignment instead of preferred alignment iff clang-abi-compat > 7, and one uses _Alignof or alignof
Patch by Nicole Mazzuca!
Differential Revision: https://reviews.llvm.org/D53207
llvm-svn: 345419
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions