[PATCH] D45129: AMDGPU/Metadata: Always report a fixed number of hidden arguments

Konstantin Zhuravlyov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 31 15:11:45 PDT 2018


kzhuravl created this revision.
kzhuravl added a reviewer: t-tye.
Herald added subscribers: tpr, dstuttard, yaxunl, nhaehnle, wdng, arsenm.

Currently it is 6. If the "feature" was not used, report dummy hidden argument. Otherwise it does not match the kernarg size reported in the kernel header.


https://reviews.llvm.org/D45129

Files:
  lib/Target/AMDGPU/MCTargetDesc/AMDGPUHSAMetadataStreamer.cpp
  test/CodeGen/AMDGPU/hsa-metadata-enqueu-kernel.ll
  test/CodeGen/AMDGPU/hsa-metadata-hidden-args.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45129.140555.patch
Type: text/x-patch
Size: 5520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180331/3bcd8392/attachment.bin>


More information about the llvm-commits mailing list