https://github.com/arsenm requested changes to this pull request.

This should not introduce a new intrinsic and only needs a tablegen pattern. 
The one benefit you get out doing this fold in the IR would be sinking a popcnt 
out of block, but you can do that just by handling this case in 
isProfitableToSinkOperands, and that avoids teaching all of the known bits / 
sign bits / simplify demanded bits about this 

https://github.com/llvm/llvm-project/pull/164847
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to