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.
parent
4fdda4f8
Please register or sign in to comment