[LLVMdev] LLD: representation of a power of two value

Rui Ueyama ruiu at google.com
Tue Mar 24 17:09:29 PDT 2015

It's not a big deal, but it always annoyed me a bit when I hit it, so I'll
bring it up here.

LLD represents an alignment X as log2(X) in some places and just X in other
places. It's a bit confusing. Because I always think alignments in my mind
in terms of 1, 2, 4, 8, ..., instead of 2^1, 2^2, 2^3, ..., I'd like to
propose to always use real values.

Any objections?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150324/9b662ee6/attachment.html>

More information about the llvm-dev mailing list