[PATCH] D19147: AMDGPU: Enable LocalStackSlotAllocation pass

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 21:25:25 PDT 2016


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

This resolves more frame indexes early and folds
the immediate offsets into the scratch mubuf instructions.
    
This cleans up a lot of the mess that's currently emitted,
such as emitting add 0s and repeatedly initializing the same
register to 0 when spilling.

http://reviews.llvm.org/D19147

Files:
  lib/Target/AMDGPU/SIRegisterInfo.cpp
  lib/Target/AMDGPU/SIRegisterInfo.h
  test/CodeGen/AMDGPU/array-ptr-calc-i32.ll
  test/CodeGen/AMDGPU/captured-frame-index.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19147.53838.patch
Type: text/x-patch
Size: 13432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160415/0d706031/attachment.bin>


More information about the llvm-commits mailing list