[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 13:36:46 PDT 2018


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

Add a helper function


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.162044.patch
Type: text/x-patch
Size: 5323 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180822/3a80f7fc/attachment.bin>


More information about the llvm-commits mailing list