[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 00:07:16 PDT 2017
craig.topper added a comment.
I lifted the scalar restriction on the existing code over the weekend.
I'm having trouble getting range metadata to work with vectors. One piece of code said "Range types must match instruction type!", but computeKnownBitsFromRangeMetadata assumes metadata is scalar. I haven't found any examples of vector range metadata so I don't know what the right answer is.
https://reviews.llvm.org/D32582
More information about the llvm-commits
mailing list