[PATCH] D97074: Add getDemandedBits for uses.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 27 02:45:08 PDT 2021
RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.
OK, let's go with this - LGTM (after you fix that clang-tidy warning)
================
Comment at: llvm/lib/Analysis/DemandedBits.cpp:515
void DemandedBits::print(raw_ostream &OS) {
+ auto printDB = [&](const Instruction *I, const APInt &A, Value *V = nullptr) {
+ OS << "DemandedBits: 0x" << Twine::utohexstr(A.getLimitedValue())
----------------
auto PrintDB
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