[PATCH] D61698: [COFF] Store alignment in log2 form, NFC

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 15 06:13:21 PDT 2019


ruiu added a comment.

By the way, the other idea I had in mind for this problem is to define a new integer-ish class that can hold only a 2^n value, by overriding cast from/to an integer. I don't know if that is a good idea or a disgusting idea, though.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61698/new/

https://reviews.llvm.org/D61698





More information about the llvm-commits mailing list