[PATCH] D144302: [PGO] Setting ValueProfNode Array's Alignment
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 22 10:30:01 PST 2023
MaskRay added a comment.
On a Linux x86-64 system, a `-m32` compile shows that `sizeof(ValueProfNode) == 20`. The alignment of `uint64_t` is 4, so `(uint64_t, uint64_t, struct ValueProfNode *)` as there is no alignment padding.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144302/new/
https://reviews.llvm.org/D144302
More information about the llvm-commits
mailing list