summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChangpeng Fang <changpeng.fang@gmail.com>2017-05-23 20:25:41 +0000
committerChangpeng Fang <changpeng.fang@gmail.com>2017-05-23 20:25:41 +0000
commit1dbace195d29b18dee93bb8f5fd906035e9daf83 (patch)
treed63f6bc48aa696ee03d4456f2efd6d42aca7fa0b /llvm/lib/CodeGen
parent3334cc017eecbd1eb95272cd5c523bdc01d1ed52 (diff)
downloadbcm5719-llvm-1dbace195d29b18dee93bb8f5fd906035e9daf83.tar.gz
bcm5719-llvm-1dbace195d29b18dee93bb8f5fd906035e9daf83.zip
AMDGPU/SI: Move the local memory usage related checking after calling convention checking in PromoteAlloca
Summary: Promoting Alloca to Vector and Promoting Alloca to LDS are two independent handling of Alloca and should not affect each other. As a result, we should not give up promoting to vector if there is not enough LDS. This patch factors out the local memory usage related checking out and replace it after the calling convention checking. Reviewer: arsenm Differential Revision: http://reviews.llvm.org/D33139 llvm-svn: 303684
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud