[PATCH] D97074: Add getDemandedBits for uses.

Qunyan Mangus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 16 15:59:41 PDT 2021


qunyanm updated this revision to Diff 331122.
qunyanm added a comment.

- Replace getScalarSizeInBits() with DL.getTypeSizeInBits since they return the same value for int.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97074

Files:
  llvm/include/llvm/Analysis/DemandedBits.h
  llvm/lib/Analysis/DemandedBits.cpp
  llvm/test/Analysis/DemandedBits/basic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97074.331122.patch
Type: text/x-patch
Size: 3826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210316/5bfcbcf6/attachment.bin>


More information about the llvm-commits mailing list