In some cases folds done through ISel/DAGCombining result in SetCC
conditions that we can easily simplify using known bits.
This patch adds support for that.
NB: The medium-term goal is to get this patch in, then use comparisons
against zero for testing future improvements to isKnownNeverZero as
there are issues using cttz/ctlz for that.
I would not do this in FoldSetCC. FoldSetCC is called from getNode and I don't think we want to call to computeKnownBits hidden in that.
You you can do it in SimplifySetCC in TargetLowering.cpp I think.