[PATCH] D47024: [MathExtras] Add alignToPowerOf2

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 10:40:42 PDT 2018


ruiu added a comment.

In https://reviews.llvm.org/D47024#1104598, @MaskRay wrote:

> https://github.com/llvm-mirror/lld/tree/master/ELF/SyntheticSections.cpp#L2517


I don't think that code computes an aligned value. Rather, it computes a modulo.


Repository:
  rL LLVM

https://reviews.llvm.org/D47024





More information about the llvm-commits mailing list