AMDGPU: Fix copies from physical registers in SIFixSGPRCopies
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 29 Apr 2017 01:26:34 +0000 (01:26 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 29 Apr 2017 01:26:34 +0000 (01:26 +0000)
commit2a80369ae4de2781969eff3d8780c0783bc7df66
tree656a0385aca513e70b298e9f4b2c567e7a59659c
parentd765638ad188abe3d520254f6ef54143de93b717
AMDGPU: Fix copies from physical registers in SIFixSGPRCopies

This would assert when there were multiple defs of
a physical register.

We just need to move all of the users of it.

llvm-svn: 301730
llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
llvm/test/CodeGen/AMDGPU/inline-asm.ll