================ @@ -22,7 +22,7 @@ float test_dot_vector_size_mismatch(float3 p0, float2 p1) { float test_dot_builtin_vector_size_mismatch(float3 p0, float2 p1) { return __builtin_hlsl_dot(p0, p1); - // expected-error@-1 {{all arguments to '__builtin_hlsl_dot' must have vectors of the same type}} + // expected-error@-1 {{all arguments to '__builtin_hlsl_dot' must have the same type}} ---------------- pow2clk wrote:
I don't think this error ever fires on non-vectors. I find the "vectors of the same type" wording to be clearer, but I don't feel strongly about it. https://github.com/llvm/llvm-project/pull/83609 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits