diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-05-07 10:47:25 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-07-21 18:11:22 -0400 |
commit | 1168119c2f0eb46774e5358df957bf90084bf75a (patch) | |
tree | 6b12698f7826d64d5a6dea0afe9309683601c562 /clang/lib/Basic/Module.cpp | |
parent | 3d9967039d4191b77f939ddc6c6ff4275df620c2 (diff) | |
download | llvm-1168119c2f0eb46774e5358df957bf90084bf75a.zip llvm-1168119c2f0eb46774e5358df957bf90084bf75a.tar.gz llvm-1168119c2f0eb46774e5358df957bf90084bf75a.tar.bz2 |
AMDGPU: Start interpreting byref on kernel arguments
These are treated identically to value aggregates placed in the kernel
argument list. A %struct.foo or %struct.foo addrspace(4)*
byref(sizeof(%struct.foo)) align(alignof(%struct.foo)) argument should
produce the same offsets and argument metadata.
This handles all 3 kernel ABI implementations, and the two HSA
metadata emission paths.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions