SROA: Remove pointer from visited along with instruction
If an instruction is erased we also need to remove it from Visited set. There is a very small chance that an another newly created instruction will be created with the same pointer value in place of an erased one. Differential Revision: https://reviews.llvm.org/D80958
Loading
Please register or sign in to comment