diff options
author | Nikita Popov <npopov@redhat.com> | 2022-01-26 10:53:21 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-01-26 15:45:14 +0100 |
commit | a5e324e3e2edcc72d9e402b4d846cae615192ad8 (patch) | |
tree | 875ae8f6b4d781afcea2401886508d0bd9678afe /clang/lib/Basic/IdentifierTable.cpp | |
parent | 070090d08eb506187f7203bd3b321ca1e74d9d5c (diff) | |
download | llvm-a5e324e3e2edcc72d9e402b4d846cae615192ad8.zip llvm-a5e324e3e2edcc72d9e402b4d846cae615192ad8.tar.gz llvm-a5e324e3e2edcc72d9e402b4d846cae615192ad8.tar.bz2 |
[AMDGPUHSAMetadataStreamer] Do not assume ABI alignment for pointers
AMDGPUHSAMetadataStreamer currently assumes that pointer arguments
without align attribute have ABI alignment of the pointee type.
This is incompatible with opaque pointers, but also plain incorrect:
Pointer arguments without explicit alignment have alignment 1. It is
the responsibility of the frontent to add correct align annotations.
Differential Revision: https://reviews.llvm.org/D118229
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions