[Openmp-commits] [PATCH] D142508: [OpenMP][libomptarget] Fix alignment calculation for mapping struct members.

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 24 15:39:13 PST 2023


jdoerfert added a comment.

> For instance, in the code you provided, add a third struct member k of type double

The struct will have an alignment of 8 then, it will adjust according to members. We should simply not assume 8 but use the actual base pointer alignment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142508/new/

https://reviews.llvm.org/D142508



More information about the Openmp-commits mailing list