[PATCH] D51112: [ValueTracking] Teach computeNumSignBits to understand min/max clamp patterns with constant/splat values

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 22 15:09:52 PDT 2018


craig.topper updated this revision to Diff 162068.
craig.topper added a comment.

Remove the recursion for clamps


https://reviews.llvm.org/D51112

Files:
  lib/Analysis/ValueTracking.cpp
  test/Transforms/InstCombine/max_known_bits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51112.162068.patch
Type: text/x-patch
Size: 5212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180822/0a9a1674/attachment.bin>


More information about the llvm-commits mailing list