[Openmp-commits] [openmp] [OpenMP] Fix various alignment issues (PR #142376)

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Sat Jun 7 15:08:46 PDT 2025


shiltian wrote:

> Casting to a pointer to a type requiring 64-bit alignment when that isn't guaranteed is wrong.

`kmp_teams_size_t` is a struct of two `kmp_int32` so its size is 64-bit, and the default alignment is its size, which would also be 64-bit. What could be wrong here?

https://github.com/llvm/llvm-project/pull/142376


More information about the Openmp-commits mailing list