AMDGPU: Delete dead code
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 26 Aug 2015 20:48:08 +0000 (20:48 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 26 Aug 2015 20:48:08 +0000 (20:48 +0000)
commit6f57102c6dcadd38583cdba940ca22931642f513
treeba349596545f7e050366c124d9b09abad4d8e2d6
parent9506598fb2809614fe963819b86f9a5b533000ee
AMDGPU: Delete dead code

There is no context where s_mov_b64 is emitted
and could potentially be moved to the VALU.
It is currently only emitted for materializing
immediates, which can't be dependent on vector sources.

The immediate splitting is already done when selecting
constants. I'm not sure what contexts if any the register
splitting would have been used before.

Also clean up using s_mov_b64 in place of v_mov_b64_pseudo,
although this isn't required and just skips the extra step
of eliminating the copy from the SReg_64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246080 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstrInfo.h
lib/Target/AMDGPU/SIInstructions.td