[PATCH] D24645: AMDGPU: Don't use offen if it is 0

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 15 20:49:02 PDT 2016


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: yaxunl, nhaehnle, wdng, kzhuravl, arsenm, qcolombet.

This removes many re-initializations of a base register to 0.

https://reviews.llvm.org/D24645

Files:
  lib/Target/AMDGPU/SIRegisterInfo.cpp
  test/CodeGen/AMDGPU/amdgpu.private-memory.ll
  test/CodeGen/AMDGPU/captured-frame-index.ll
  test/CodeGen/AMDGPU/cgp-addressing-modes.ll
  test/CodeGen/AMDGPU/extload-private.ll
  test/CodeGen/AMDGPU/insert_vector_elt.ll
  test/CodeGen/AMDGPU/private-element-size.ll
  test/CodeGen/AMDGPU/scratch-buffer.ll
  test/CodeGen/AMDGPU/vgpr-spill-emergency-stack-slot-compute.ll
  test/CodeGen/AMDGPU/wqm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24645.71592.patch
Type: text/x-patch
Size: 25305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160916/240b1dc1/attachment.bin>


More information about the llvm-commits mailing list