diff options
author | Nikita Popov <npopov@redhat.com> | 2021-12-22 16:30:22 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2021-12-23 08:57:11 +0100 |
commit | 1201a0f3955b7b564db3e5a913a7ec9255f9275d (patch) | |
tree | 41ccc79b57556ced2c64178f7b1e4e55ab23f42b /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 8043beb8901cb95fce4266b498262acf08494510 (diff) | |
download | llvm-1201a0f3955b7b564db3e5a913a7ec9255f9275d.zip llvm-1201a0f3955b7b564db3e5a913a7ec9255f9275d.tar.gz llvm-1201a0f3955b7b564db3e5a913a7ec9255f9275d.tar.bz2 |
[OpenMP] Fix incorrect type when casting from uintptr
MakeNaturalAlignAddrLValue() expects the pointee type, but the
pointer type was passed. As a result, the natural alignment of
the pointer (usually 8) was always used in place of the natural
alignment of the value type.
Differential Revision: https://reviews.llvm.org/D116171
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions