[PATCH] D65033: LowerTypeTests: Teach the pass to respect global alignments.
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 22 11:30:18 PDT 2019
vitalybuka accepted this revision.
vitalybuka added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Transforms/IPO/LowerTypeTests.cpp:767
+ DenseMap<GlobalTypeMember *, uint64_t> GlobalLayout;
+ uint64_t MaxAlign = 0, CurOffset = 0, DesiredPadding = 0;
for (GlobalTypeMember *G : Globals) {
----------------
could you make it declaration per line?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65033/new/
https://reviews.llvm.org/D65033
More information about the llvm-commits
mailing list