]> granicus.if.org Git - llvm/commit
Merging r243462:
authorTom Stellard <thomas.stellard@amd.com>
Mon, 16 Nov 2015 17:23:20 +0000 (17:23 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 16 Nov 2015 17:23:20 +0000 (17:23 +0000)
commit074105b0dbd372f5fa94708efd2b1402c1d4d75e
treeb5cb900ed06d34d1034ed1bd9c7517b7f51a8735
parent6a6b791e80c785ca8e04f93c9723d1a8ef55b30b
Merging r243462:

------------------------------------------------------------------------
r243462 | Matthew.Arsenault | 2015-07-28 14:47:00 -0400 (Tue, 28 Jul 2015) | 5 lines

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

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.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_37@253228 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
test/CodeGen/AMDGPU/promote-alloca-stored-pointer-value.ll [new file with mode: 0644]