[all-commits] [llvm/llvm-project] ca5b31: [HIP] Math Headers to use type promotion

Aaron Enye Shi via All-commits all-commits at lists.llvm.org
Tue Nov 3 10:41:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ca5b31502c828f8e7160a77f54a5a131dc298005
      https://github.com/llvm/llvm-project/commit/ca5b31502c828f8e7160a77f54a5a131dc298005
  Author: Aaron En Ye Shi <enye.shi at gmail.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

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

  Log Message:
  -----------
  [HIP] Math Headers to use type promotion

Similar to libcxx implementation of cmath function
overloads, use type promotion templates to determine
return types of multi-argument math functions.

Fixes: SWDEV-256825

Reviewed By: tra, yaxunl

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




More information about the All-commits mailing list