[PATCH] D79744: clang: Use byref for kernel arguments

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 21 14:48:42 PDT 2020


arsenm updated this revision to Diff 279635.
arsenm retitled this revision from "clang: Add address space to indirect abi info and use it for kernels" to "clang: Use byref for kernel arguments".
arsenm edited the summary of this revision.
arsenm added a comment.

Switch to byref. Doesn't handle the HIP kernel argument promotion case, since that requires more work


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79744/new/

https://reviews.llvm.org/D79744

Files:
  clang/include/clang/CodeGen/CGFunctionInfo.h
  clang/lib/CodeGen/CGCall.cpp
  clang/lib/CodeGen/TargetInfo.cpp
  clang/test/CodeGenCUDA/kernel-args.cu
  clang/test/CodeGenOpenCL/addr-space-struct-arg.cl
  clang/test/CodeGenOpenCL/amdgpu-abi-struct-coerce.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79744.279635.patch
Type: text/x-patch
Size: 19168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200721/982e68d1/attachment-0001.bin>


More information about the cfe-commits mailing list