[PATCH] D33559: AMDGPU/SI: Extend promoting alloca to vector to arrays of up to 16 elements

Changpeng Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 11:48:26 PDT 2017


cfang created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

This patch extends the promotion of alloca to vector to the arrays of up to 16 elements. Also we introduce
an option, -disable-promote-alloca-to-vector, to switch promotion to vector off, if needed.


https://reviews.llvm.org/D33559

Files:
  lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  lib/Target/AMDGPU/SIISelLowering.cpp
  test/CodeGen/AMDGPU/amdgpu.private-memory.ll
  test/CodeGen/AMDGPU/indirect-private-64.ll
  test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll
  test/CodeGen/AMDGPU/private-memory-r600.ll
  test/CodeGen/AMDGPU/promote-alloca-padding-size-estimate.ll
  test/CodeGen/AMDGPU/target-cpu.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33559.100277.patch
Type: text/x-patch
Size: 13569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170525/273b2b61/attachment.bin>


More information about the llvm-commits mailing list