[all-commits] [llvm/llvm-project] 09bc75: [OpenMP] Emit calls to int64_t functions for amdgcn

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Thu Oct 22 07:03:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 09bc755deaa69b1377a8c050131f67cd276a51f3
      https://github.com/llvm/llvm-project/commit/09bc755deaa69b1377a8c050131f67cd276a51f3
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/test/Transforms/OpenMP/add_attributes.ll
    A llvm/test/Transforms/OpenMP/add_attributes_amdgcn.ll

  Log Message:
  -----------
  [OpenMP] Emit calls to int64_t functions for amdgcn

[OpenMP] Emit calls to int64_t functions for amdgcn

Two functions, syncwarp and active_thread_mask, return lanemask_t. Currently
this is assumed to be int32, which is true for nvptx. Patch makes the type
target architecture dependent.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list