[PATCH] D104677: [OpenMP] Apply fix for isnan, isinf and isinfinite for amdgcn.

Ethan Stewart via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 21 18:22:58 PDT 2021


estewart08 created this revision.
Herald added subscribers: guansong, yaxunl.
estewart08 requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.

This fixes issues with various return types(bool/int) and was already
in place for nvptx headers, adjusted to work for amdgcn.
Similar to D85879 <https://reviews.llvm.org/D85879>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104677

Files:
  clang/lib/Headers/__clang_hip_cmath.h
  clang/test/Headers/openmp_device_math_isnan.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104677.353521.patch
Type: text/x-patch
Size: 9232 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210622/c2cf76ef/attachment.bin>


More information about the cfe-commits mailing list