AMDGPU: Distribute SGPR->VGPR copies of REG_SEQUENCE
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 2 Nov 2015 23:15:42 +0000 (23:15 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 2 Nov 2015 23:15:42 +0000 (23:15 +0000)
commitbd96659e08ce64b7189db2beea3b93f5fbd6750c
tree1755d075d3a03a9f9a739225e1fe2b427218df71
parent9421a37c5564c3f09473c0012b4ac54199dd9cfd
AMDGPU: Distribute SGPR->VGPR copies of REG_SEQUENCE

Make the REG_SEQUENCE be a VGPR, and do the register class
copy first.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251855 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
test/CodeGen/AMDGPU/imm.ll
test/CodeGen/AMDGPU/merge-stores.ll
test/CodeGen/AMDGPU/shl.ll
test/CodeGen/AMDGPU/srl.ll
test/CodeGen/AMDGPU/use-sgpr-multiple-times.ll
test/CodeGen/AMDGPU/zero_extend.ll