diff options
author | Changpeng Fang <Changpeng.Fang@amd.com> | 2022-04-12 12:36:30 -0700 |
---|---|---|
committer | Changpeng Fang <Changpeng.Fang@amd.com> | 2022-04-12 12:36:30 -0700 |
commit | 8edaf25986a451f29d8102739c8438ca1e7c1005 (patch) | |
tree | 750cc4d70532e5f1442fc4d39299c03d63797101 /clang/lib/ExtractAPI/API.cpp | |
parent | 65b8a4324301881331373a1c339f33dd9394934e (diff) | |
download | llvm-8edaf25986a451f29d8102739c8438ca1e7c1005.zip llvm-8edaf25986a451f29d8102739c8438ca1e7c1005.tar.gz llvm-8edaf25986a451f29d8102739c8438ca1e7c1005.tar.bz2 |
AMDGPU: Emit metadata for the hidden_multigrid_sync_arg conditionally
Summary:
Introduce a new function attribute, amdgpu-no-multigrid-sync-arg, which is default.
We use implicitarg_ptr + offset to check whether the multigrid synchronization
pointer is used. If yes, we remove this attribute and also remove
amdgpu-no-implicitarg-ptr. We generate metadata for the hidden_multigrid_sync_arg
only when the amdgpu-no-multigrid-sync-arg attribute is removed from the function.
Reviewers: arsenm, sameerds, b-sumner and foad
Differential Revision: https://reviews.llvm.org/D123548
Diffstat (limited to 'clang/lib/ExtractAPI/API.cpp')
0 files changed, 0 insertions, 0 deletions