[InstSimplify] Adjust context instruction when threading phi (PR61312)
When threading operations over phis, we need to adjust the context instruction to the terminator of the incoming block. This was handled when threading icmps, but not when threading binops. Fixes https://github.com/llvm/llvm-project/issues/61312.
parent
8bcdc503
Please register or sign in to comment