1. [AMDGPU] Allow folding of sgpr to vgpr copy (details)
Commit 61e7a61bdccfae2c55e1ab598621204030feac7a by Stanislav.Mekhanoshin
[AMDGPU] Allow folding of sgpr to vgpr copy
Potentially sgpr to sgpr copy should also be possible. That is however
trickier because we may end up with a wrong register class at use
because of xm0/xexec permutations.
Differential Revision:
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/saddo.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fold-vgpr-copy.mir