================
@@ -236,6 +257,22 @@ _DXC_COMPAT_UNARY_INTEGER_OVERLOADS(cosh)
 _DXC_COMPAT_UNARY_DOUBLE_OVERLOADS(degrees)
 _DXC_COMPAT_UNARY_INTEGER_OVERLOADS(degrees)
 
+//===----------------------------------------------------------------------===//
+// dot builtins overloads
+//===----------------------------------------------------------------------===//
+
+template <typename T, uint N>
----------------
V-FEXrt wrote:

its subtle, but no (I actually made that mistake myself).

`_DXC_COMPAT_BINARY_VECTOR_SCALAR_OVERLOADS` creates type `vector<T, N> 
fn(vector<T,  N> x, T y` but `dot` requires `T fn(vector<T, N> x, T y)` (return 
types are different shape)

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

Reply via email to