[PATCH] D82990: [AMDGPU] Limit promote alloca to vector with VGPR budget

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 12:27:12 PDT 2020


rampitec created this revision.
rampitec added reviewers: arsenm, kerbowa.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

Allow only up to 1/4 of available VGPRs for the vectorization
of any given alloca.


https://reviews.llvm.org/D82990

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82990.274888.patch
Type: text/x-patch
Size: 7838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200701/97feff4a/attachment.bin>


More information about the llvm-commits mailing list