[PATCH] D20940: AMDGPU: Fix kernel argument alignment impacting stack size

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 17:08:10 PDT 2016


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: kzhuravl, arsenm.

Don't use AllocateStack because kernel arguments have nothing
to do with the stack. The ensureMaxAlignment call was still
changing the stack alignment.

http://reviews.llvm.org/D20940

Files:
  lib/Target/AMDGPU/AMDGPUCallingConv.td
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
  lib/Target/AMDGPU/AMDGPUMachineFunction.h
  test/CodeGen/AMDGPU/kernarg-stack-alignment.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20940.59480.patch
Type: text/x-patch
Size: 4555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160603/50ebfae0/attachment.bin>


More information about the llvm-commits mailing list