[PATCH] D33139: AMDGPU/SI: Move the local memory usage related checking after calling convention checking in PromoteAlloca

Changpeng Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 09:20:35 PDT 2017


cfang updated this revision to Diff 99157.
cfang added a comment.

1. Move the checking of available LDS outside the loop.
2. Remove the ISA checking in the newly added test (I think the OPT checking is sufficient).

3. the other two original issues Matt mentioned are to be investigated in a separate patch.


https://reviews.llvm.org/D33139

Files:
  lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  test/CodeGen/AMDGPU/vector-alloca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33139.99157.patch
Type: text/x-patch
Size: 10984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170516/fbf74a90/attachment.bin>


More information about the llvm-commits mailing list