[PATCH] D12227: AMDGPU: Delete dead code

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 23:18:50 PDT 2015


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

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.

http://reviews.llvm.org/D12227

Files:
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/SIInstrInfo.h
  lib/Target/AMDGPU/SIInstructions.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12227.32803.patch
Type: text/x-patch
Size: 5391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150821/ef5570ac/attachment.bin>


More information about the llvm-commits mailing list