[all-commits] [llvm/llvm-project] 559b8f: [AMDGPU] emit macro __GFX9__ etc

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Thu May 19 09:18:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 559b8fc17ef6f5a65ccf9a11fce5f91c0a011b00
      https://github.com/llvm/llvm-project/commit/559b8fc17ef6f5a65ccf9a11fce5f91c0a011b00
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M clang/lib/Basic/Targets/AMDGPU.cpp
    M clang/test/Driver/amdgpu-macros.cl

  Log Message:
  -----------
  [AMDGPU] emit macro __GFX9__ etc

Emit predefined macros for GPU family. e.g.
for GPU gfx9xx emit __GFX9__, etc.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D125909




More information about the All-commits mailing list