[PATCH] D32582: [InstCombine] Add range metadata to cttz/ctlz/ctpop intrinsic calls based on known bits

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 09:38:05 PDT 2017


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

Fix the i1 issue for ctpop as well.


https://reviews.llvm.org/D32582

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Transforms/InstCombine/ctpop.ll
  test/Transforms/InstCombine/intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32582.101420.patch
Type: text/x-patch
Size: 7578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170605/3ecb7738/attachment.bin>


More information about the llvm-commits mailing list