[PATCH] D97074: Add getDemandedBits for uses.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 12 13:47:23 PDT 2021
craig.topper added inline comments.
================
Comment at: llvm/lib/Analysis/DemandedBits.cpp:461
+
+ // We only track integer uses, everything else produces a mask with all bits set
+ if (!T->isIntOrIntVectorTy()) {
----------------
Please fix this clang-format warning
================
Comment at: llvm/lib/Analysis/DemandedBits.cpp:462
+ // We only track integer uses, everything else produces a mask with all bits set
+ if (!T->isIntOrIntVectorTy()) {
+ return APInt::getAllOnesValue(BitWidth);
----------------
Drop curly braces
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97074/new/
https://reviews.llvm.org/D97074
More information about the llvm-commits
mailing list