OSDN Git Service

AMDGPU: Fix promote alloca for pointer loads
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 18 May 2016 23:20:24 +0000 (23:20 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 18 May 2016 23:20:24 +0000 (23:20 +0000)
commit44aaff08ed0112458462e2dfce373e13623e57d8
treed6d16394abb75d72c8e3235a24759223942b6697
parent9dbb32236ac1c5d93ed00c9cc3685a2f7c932e7e
AMDGPU: Fix promote alloca for pointer loads

If the load has a pointer type, we don't want to change
its type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270000 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
test/CodeGen/AMDGPU/amdgpu.private-memory.ll
test/CodeGen/AMDGPU/promote-alloca-volatile.ll