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

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 05:28:27 PDT 2023


gchatelet updated this revision to Diff 533568.
gchatelet added a comment.

- Implement isAligned as an APInt member function with Align being forward declared.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153356

Files:
  llvm/include/llvm/ADT/APInt.h
  llvm/include/llvm/Support/Alignment.h
  llvm/unittests/ADT/APIntTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153356.533568.patch
Type: text/x-patch
Size: 3577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230622/113f6bc3/attachment.bin>


More information about the llvm-commits mailing list