[PATCH] D153356: [Align] Add isAligned taking an APInt

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 08:07:29 PDT 2023


gchatelet added a comment.

@nikic I agree this is not ideal. Whether it is `APInt.h` including `Alignment.h` or the opposite...
Do you have a suggestion on where this should land? If at all?

An alternative would be to document how to handle `APInt` in `Alignment.h` but not include the code.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153356



More information about the llvm-commits mailing list