[PATCH] D153356: [Align] Add isAligned taking an APInt
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 22 05:56:10 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/include/llvm/ADT/APInt.h:440
+ /// provided value.
+ bool isAligned(const Align &A) const {
+ if (isZero())
----------------
Pass by value or just use the unsigned?
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