HomePhabricator

AMDGPU: Don't use struct type for argument layout

Description

AMDGPU: Don't use struct type for argument layout

This was introducing unnecessary padding after the explicit
arguments, depending on the alignment of the total struct type.
Also has the side effect of avoiding creating an extra GEP for
the offset from the base kernel argument to the explicit kernel
argument offset.

Details

Committed
arsenmJun 29 2018, 10:31 AM
Parents
rL335998: [X86] Limit the number of target specific nodes emitted in LowerShiftParts
Branches
Unknown
Tags
Unknown