[InstCombine] fold ctpop-of-select with 1 or more constant arms
The general pattern is mentioned in: https://llvm.org/PR50140 ...but we need to do a bit more to handle intrinsics with extra operands like ctlz/cttz.
Loading
Please sign in to comment