[PATCH] D72423: [DemandedBits] Improve accuracy of Add propagator

Erika via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 12 05:25:17 PST 2020


rrika updated this revision to Diff 237532.
rrika added a comment.
Herald added a subscriber: mgorny.

Here's an update to confirm that the unit test is going in the right direction. DemandedBits::determineLiveOperandBits is private, so right now it seems to be necessary to build up all this IR before each query. I have yet to read up on what allocation responsibilities are, because creating new llvm contexts in a hot loop doesn't feel like the way it's meant to be done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72423

Files:
  llvm/lib/Analysis/DemandedBits.cpp
  llvm/test/Analysis/DemandedBits/add.ll
  llvm/unittests/IR/CMakeLists.txt
  llvm/unittests/IR/DemandedBitsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72423.237532.patch
Type: text/x-patch
Size: 7981 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200112/4ee99091/attachment.bin>


More information about the llvm-commits mailing list