[PATCH] D125909: [AMDGPU] emit macro __GFX9__ etc
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 18 10:16:36 PDT 2022
yaxunl created this revision.
yaxunl added reviewers: b-sumner, tra, arsenm.
Herald added subscribers: kosarev, kerbowa, t-tye, tpr, dstuttard, jvesely, kzhuravl.
Herald added a project: All.
yaxunl requested review of this revision.
Herald added a subscriber: wdng.
Emit predefined macros for GPU family. e.g.
for GPU gfx9xx emit `__GFX9__`, etc.
https://reviews.llvm.org/D125909
Files:
clang/lib/Basic/Targets/AMDGPU.cpp
clang/test/Driver/amdgpu-macros.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125909.430432.patch
Type: text/x-patch
Size: 18175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220518/10e630a0/attachment-0001.bin>
More information about the cfe-commits
mailing list