[IRGen] Handle infinite cycles in findDominatingStoreToReturnValue.
If there is an infinite cycle in the IR, the loop will never exit. Keep track of visited basic blocks in a set and return nullptr if a block is visited again. Fixes #62830. Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D151076
parent
0daa80e8
Please register or sign in to comment