On targets where direct AGPR to AGPR copy is not possible, the postrapseudos
pass tries to expand AGPR to AGPR copies by first trying to find the defining
accvgpr_write instruction and propagating its vgpr register to avoid creating
temporary registers. In cases where we cannot propagate, a new temporary VGPR
register will be created for each AGPR copy instruction even if the sources
are the same for all or some of the copy instructions.
With this patch, after failing to propagate the defining instruction's VGPR
register, we will next try to see if another copy instruction has already
inserted in a temporay VGPR copy with accvgpr_read and attempt to propagate
that copy.
clang-format: please reformat the code