[InstCombine] Limit use walk in copied from constant fold
This fold currently performs an unbounded recursive use walk. Make sure that we don't visit too many instructions (the limit is chosen arbitrarily). This is with an eye on also handling phi nodes, which will further extend the considered use graph.
Loading
Please sign in to comment