[PATCH] D155986: [clang][AMDGPU]: Don't use byval for struct arguments in function ABI

Changpeng Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 17:03:58 PDT 2023


cfang updated this revision to Diff 546270.
cfang added a comment.

add x86 target to check pass by value in byval.cl
remove -enable-var-scope in the pre-commit test.

TODO: document and release note


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

https://reviews.llvm.org/D155986

Files:
  clang/lib/CodeGen/CGCall.cpp
  clang/lib/CodeGen/Targets/AMDGPU.cpp
  clang/test/CodeGenCXX/amdgcn-func-arg.cpp
  clang/test/CodeGenOpenCL/addr-space-struct-arg.cl
  clang/test/CodeGenOpenCL/amdgpu-abi-struct-arg-byref.cl
  clang/test/CodeGenOpenCL/amdgpu-abi-struct-coerce.cl
  clang/test/CodeGenOpenCL/byval.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155986.546270.patch
Type: text/x-patch
Size: 27237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230802/fd0b41bf/attachment-0001.bin>


More information about the llvm-commits mailing list