SimplifyDemandedBits can explore severallevels of the DAG docompute its result. This means that a transformation in the DAG that isn't immediately related to a node might affect it.
We therefore add these nodes to the DeepPatternNodes set so that they can be processed again in case the DAG is modfied.
In the future, other node may be added to the set as need arises.
This is a variation on D33587 that should be more lightweight as it focuses the extra work on node that are actually likely to benefit from it rather than the whole DAG.
Is not creating shld the expected result?