[PATCH] D79383: AMDGPU: Insert kernarg code after allocas

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 18:18:49 PDT 2020


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

This produces more normal looking IR by keeping all the allocas
clustered at the start of the block.


https://reviews.llvm.org/D79383

Files:
  llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
  llvm/test/CodeGen/AMDGPU/lower-kernargs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79383.261979.patch
Type: text/x-patch
Size: 10169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200505/77a70d2b/attachment.bin>


More information about the llvm-commits mailing list