[PATCH] D22316: AMDGPU: Remove dead check in AMDGPUPromoteAlloca

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 13 14:19:39 PDT 2016


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

This is currently only called with GEP users. A direct
alloca would only happen with current typed pointers
for arrays which are a perverse case.

http://reviews.llvm.org/D22316

Files:
  lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  test/CodeGen/AMDGPU/amdgpu.private-memory.ll
  test/CodeGen/AMDGPU/vector-alloca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22316.63859.patch
Type: text/x-patch
Size: 11061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160713/571975f7/attachment.bin>


More information about the llvm-commits mailing list