[NewGVN] Patch replacement instruction even for removed instructions
When removing an instruction, we still need to merge its IR flags into the leader, because there may have been a transitive use. Fixes https://github.com/llvm/llvm-project/issues/53218.
parent
b14f6eeb
Please register or sign in to comment