[PATCH] D144302: [PGO] Setting ValueProfNode Array's Alignment

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 22:05:14 PST 2023


MaskRay requested changes to this revision.
MaskRay added a comment.
This revision now requires changes to proceed.

On ILP32 targets, `sizeof(ValueProfNode) = 20`. The forced alignment 8 is not a divisor of 20 and there may be alignment padding between two `ValueProfNode` instances.


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