aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/API.cpp
diff options
context:
space:
mode:
authorChangpeng Fang <Changpeng.Fang@amd.com>2022-04-12 12:36:30 -0700
committerChangpeng Fang <Changpeng.Fang@amd.com>2022-04-12 12:36:30 -0700
commit8edaf25986a451f29d8102739c8438ca1e7c1005 (patch)
tree750cc4d70532e5f1442fc4d39299c03d63797101 /clang/lib/ExtractAPI/API.cpp
parent65b8a4324301881331373a1c339f33dd9394934e (diff)
downloadllvm-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