[PATCH] D11508: AMDGPU: Don't try to use LDS/vector for private if pointer value stored

Matt Arsenault Matthew.Arsenault at amd.com
Sun Jul 26 00:43:19 PDT 2015


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

If the pointer is the store's value operand, this would produce
a broken module. Make sure the use is actually for the pointer operand.


http://reviews.llvm.org/D11508

Files:
  lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  test/CodeGen/AMDGPU/promote-alloca-stored-pointer-value.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11508.30647.patch
Type: text/x-patch
Size: 3894 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150726/c52f97d8/attachment.bin>


More information about the llvm-commits mailing list