diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2022-06-07 17:55:32 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2022-09-13 18:40:28 -0400 |
commit | d00b0aab31405432fad7bbaebccc0ae0956d6d39 (patch) | |
tree | 5b7d70960a73155748426fa8f8a5fe2374d64620 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 4fdda4f82d787c988d5bbdf365df95fd0c8ca14b (diff) | |
download | llvm-d00b0aab31405432fad7bbaebccc0ae0956d6d39.zip llvm-d00b0aab31405432fad7bbaebccc0ae0956d6d39.tar.gz llvm-d00b0aab31405432fad7bbaebccc0ae0956d6d39.tar.bz2 |
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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions