[all-commits] [llvm/llvm-project] 5dfdc1: [OpenMP][AMDGCN] Apply fix for isnan, isinf and is...

estewart08 via All-commits all-commits at lists.llvm.org
Wed Jun 23 07:26:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5dfdc1812d9b9c043204d39318f6446424d8f2d7
      https://github.com/llvm/llvm-project/commit/5dfdc1812d9b9c043204d39318f6446424d8f2d7
  Author: Ethan Stewart <ethan.stewart at amd.com>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

  Changed paths:
    M clang/lib/Headers/__clang_hip_cmath.h
    M clang/test/Headers/hip-header.hip
    M clang/test/Headers/openmp_device_math_isnan.cpp

  Log Message:
  -----------
  [OpenMP][AMDGCN] Apply fix for isnan, isinf and isfinite for amdgcn.

This fixes issues with various return types(bool/int) and was already
in place for nvptx headers, adjusted to work for amdgcn. This does
not affect hip as the change is guarded with OPENMP_AMDGCN.
Similar to D85879.

Reviewed By: jdoerfert, JonChesterfield, yaxunl

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




More information about the All-commits mailing list