[PATCH] D20316: AMDGPU: Handle alloca promoting with null operands

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 18:35:29 PDT 2016


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

If the second pointer in a multi-pointer instruction is a constant, we can replace the type.


http://reviews.llvm.org/D20316

Files:
  lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  test/CodeGen/AMDGPU/promote-alloca-to-lds-icmp.ll
  test/CodeGen/AMDGPU/promote-alloca-to-lds-phi.ll
  test/CodeGen/AMDGPU/promote-alloca-to-lds-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20316.57429.patch
Type: text/x-patch
Size: 7562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160517/cb66d294/attachment.bin>


More information about the llvm-commits mailing list