[all-commits] [llvm/llvm-project] 39dac1: [clang] Add clang builtins support for gfx90a

Anshil Gandhi via All-commits all-commits at lists.llvm.org
Thu Aug 5 01:08:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39dac1f7f65691487dbdc969e343108db5b0f765
      https://github.com/llvm/llvm-project/commit/39dac1f7f65691487dbdc969e343108db5b0f765
  Author: Anshil Gandhi <Anshil.Gandhi at amd.com>
  Date:   2021-08-05 (Thu, 05 Aug 2021)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsAMDGPU.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    A clang/test/CodeGenOpenCL/builtins-amdgcn-fp-atomics-gfx7-err.cl
    A clang/test/CodeGenOpenCL/builtins-amdgcn-fp-atomics-gfx908-err.cl
    A clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx1030.cl
    A clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx8.cl
    A clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx90a.cl

  Log Message:
  -----------
  [clang] Add clang builtins support for gfx90a

Implement target builtins for gfx90a including fadd64, fadd32, add2h,
max and min on various global, flat and ds address spaces for which
intrinsics are implemented.

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




More information about the All-commits mailing list