AMDGPU: Don't promote alloca to LDS for leaf functions
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 2 May 2017 18:33:18 +0000 (18:33 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 2 May 2017 18:33:18 +0000 (18:33 +0000)
commit5c80618fb78e5571e859e42b7ff2f062f5fc6f81
tree5f535d41dbe0befad4414c3d66dfdd4f6b8c1ba3
parentfca6fae463fadf7f3f6b96db7e41a7727cd86e7e
AMDGPU: Don't promote alloca to LDS for leaf functions

LDS use in leaf functions not currently handled.

llvm-svn: 301958
llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
llvm/test/CodeGen/AMDGPU/promote-alloca-calling-conv.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/promote-alloca-shaders.ll [deleted file]