choikwa wrote:

I would have preferred to do the overloads in the target specific header file, 
but __builtin_*  methods couldn't be overloaded. I noticed that hip math header 
already overloads 'double logb(double)' by calling ocml version, so I mirrored 
that in clang. If there is better approach, I am interested.

https://github.com/llvm/llvm-project/pull/129347
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to