[PATCH] D17308: AMDGPU: Change how alignment is computed for argument lowering

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 15:39:34 PST 2016


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

Fixes not treating i16 kernel arguments as 4-byte aligned when
added as legal.
    
Also fixes bug for mesa argument lowering. The implicit 36-byte offset
does not correctly align 64-bit arguments.

http://reviews.llvm.org/D17308

Files:
  lib/Target/AMDGPU/AMDGPUCallingConv.td
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17308.48117.patch
Type: text/x-patch
Size: 8147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160216/e728a24a/attachment-0001.bin>


More information about the llvm-commits mailing list