[clang] [llvm] Adding splitdouble HLSL function (PR #109331)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 27 20:53:01 PDT 2024


================
@@ -6,6 +6,10 @@ uint4 test_asuint_too_many_arg(float p0, float p1) {
   // expected-error at -1 {{no matching function for call to 'asuint'}}
   // expected-note at hlsl/hlsl_intrinsics.h:* {{candidate function template not viable: requires single argument 'V', but 2 arguments were provided}}
   // expected-note at hlsl/hlsl_intrinsics.h:* {{candidate function template not viable: requires single argument 'F', but 2 arguments were provided}}
+  // expected-note at hlsl/hlsl_intrinsics.h:* {{candidate function not viable: requires 3 arguments, but 2 were provided}}
----------------
llvm-beanz wrote:

This is the behavior we want. This is just the standard function overload resolution failing iterating over the possible overloads and noting them, it should cite each overload separately, not multiple overloads from a single note.

https://github.com/llvm/llvm-project/pull/109331


More information about the cfe-commits mailing list