[PATCH] D49759: Fix llvm::ComputeNumSignBits with some operations and llvm.assume

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 24 14:21:50 PDT 2018


rampitec created this revision.
rampitec added reviewers: artem.tamazov, arsenm.
Herald added a subscriber: wdng.

Currently ComputeNumSignBits does early exit while processing some
of the operations (add, sub, mul, and select). This prevents the
function from using AssumptionCacheTracker if passed.


https://reviews.llvm.org/D49759

Files:
  lib/Analysis/ValueTracking.cpp
  test/Analysis/ValueTracking/numsignbits-from-assume.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49759.157129.patch
Type: text/x-patch
Size: 6130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180724/0fa9b876/attachment.bin>


More information about the llvm-commits mailing list