Commit 8e353fb6 authored by Nikita Popov's avatar Nikita Popov
Browse files

[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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment