[all-commits] [llvm/llvm-project] 88b441: HIP: Use builtin_nan instead of manual expansion

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Feb 20 08:09:55 PST 2025


  Branch: refs/heads/users/arsenm/clang-hip-use-builtin-nan
  Home:   https://github.com/llvm/llvm-project
  Commit: 88b441975bc452c5b19d30b4d534fbce0b16dc0b
      https://github.com/llvm/llvm-project/commit/88b441975bc452c5b19d30b4d534fbce0b16dc0b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M clang/lib/Headers/__clang_hip_math.h

  Log Message:
  -----------
  HIP: Use builtin_nan instead of manual expansion

I'm guessing the only reason the __make_mantissa* functions
exist were to support this, so maybe these can be deleted now.

This is broken in the non-constant string case, since it ends
up emitting a call to the libm function



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list