[PATCH] D32582: [InstCombine] Add range metadata to cttz/ctlz/ctpop intrinsic calls based on known bits
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 21 05:27:44 PDT 2017
RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.
LGTM, with the addition of some ctpop vector tests, even if they don't currently combine.
================
Comment at: test/Transforms/InstCombine/ctpop.ll:8
declare void @llvm.assume(i1)
define i1 @test1(i32 %arg) {
----------------
Please add some ctpop vector tests as well, with the relevant TODO comments.
https://reviews.llvm.org/D32582
More information about the llvm-commits
mailing list