[PATCH] D69301: [Alignment][NFC] Convert AllocaInst to MaybeAlign
Clement Courbet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 23 02:27:18 PDT 2019
courbet accepted this revision.
courbet added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Transforms/Scalar/SROA.cpp:4157
+ // is omitted or zero is that required by the ABI for this type.
+ Align Alignment = DL.getValueOrABITypeAlignment(
+ MaybeAlign(AI.getAlignment()), AI.getAllocatedType());
----------------
merge + const ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69301/new/
https://reviews.llvm.org/D69301
More information about the llvm-commits
mailing list