[PATCH] D115153: clang/AMDGPU: Don't set implicit arg attribute to default size

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 6 06:24:42 PST 2021


arsenm created this revision.
arsenm added reviewers: yaxunl, JonChesterfield.
Herald added subscribers: jdoerfert, kerbowa, t-tye, tpr, dstuttard, nhaehnle, jvesely, kzhuravl.
arsenm requested review of this revision.
Herald added subscribers: sstefan1, wdng.
Herald added a reviewer: jdoerfert.

Since 2959e082e1427647e107af0b82770682eaa58fe1 <https://reviews.llvm.org/rG2959e082e1427647e107af0b82770682eaa58fe1>, we conservatively
assume all inputs are enabled by default. This isn't the best
interface for controlling these anyway, since it's not granular and
only allows trimming the last fields.


https://reviews.llvm.org/D115153

Files:
  clang/lib/CodeGen/TargetInfo.cpp
  clang/test/CodeGenCUDA/amdgpu-hip-implicit-kernarg.cu
  clang/test/CodeGenOpenCL/amdgpu-attrs.cl
  clang/test/OpenMP/amdgcn-attributes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115153.392046.patch
Type: text/x-patch
Size: 12495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211206/4d881b9e/attachment-0001.bin>


More information about the cfe-commits mailing list