================
@@ -1,130 +0,0 @@
-// RUN: %clang_cc1 -finclude-default-header -triple
dxil-pc-shadermodel6.6-library %s -fnative-half-type -fnative-int16-type
-emit-llvm-only -disable-llvm-passes -verify -verify-ignore-unexpected=note
-
-float2 test_no_second_arg(float2 p0) {
- return __builtin_hlsl_lerp(p0);
- // expected-error@-1 {{too few arguments to function call, expected 3, have
1}}
-}
-
-float2 test_no_third_arg(float2 p0) {
- return __builtin_hlsl_lerp(p0, p0);
- // expected-error@-1 {{too few arguments to function call, expected 3, have
2}}
-}
-
-float2 test_too_many_arg(float2 p0) {
- return __builtin_hlsl_lerp(p0, p0, p0, p0);
- // expected-error@-1 {{too many arguments to function call, expected 3, have
4}}
-}
-
-float2 test_lerp_no_second_arg(float2 p0) {
----------------
kmpeng wrote:
Yes, there's no lerp specific error handling left. See this thread for a more
in-depth discussion:
https://github.com/llvm/llvm-project/pull/215379#discussion_r3753231035
https://github.com/llvm/llvm-project/pull/215692
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits