[PATCH] D76274: [Alignment] Add alignTo with skew parameter
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 17 06:52:33 PDT 2020
gchatelet added inline comments.
================
Comment at: llvm/include/llvm/Support/Alignment.h:192
+inline uint64_t alignTo(uint64_t Size, Align A, uint64_t Skew) {
+ const uint64_t value = A.value();
+ Skew %= value;
----------------
courbet wrote:
> `Value`
Also fixed in the function above.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76274/new/
https://reviews.llvm.org/D76274
More information about the llvm-commits
mailing list