RegisterCoalescer: Fix verifier error when merging copy of undef
There's no real read of the register, so the copy introduced a new live value. Make sure we introduce a replacement implicit_def instead of just erasing the copy. Found from llvm-reduce since it tries to set undef on everything.
Loading
Please sign in to comment