[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.
parent
0e6deaa2
Please register or sign in to comment