[clang] [llvm] [HLSL] implementation of lerp intrinsic (PR #83077)

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 28 11:50:23 PST 2024


================
@@ -10266,6 +10266,11 @@ def err_block_on_vm : Error<
 def err_sizeless_nonlocal : Error<
   "non-local variable with sizeless type %0">;
 
+def err_vec_builtin_non_vector_all : Error<
+ "all arguments to %0 must be vectors">;
+def err_vec_builtin_incompatible_vector_all : Error<
+  "all arguments to %0 must have vectors of the same type">;
----------------
bogner wrote:

It wouldn't make sense to change it as part of this commit, but with this in place "err_vec_builtin_non_vector" has a bit of an ambiguous name now. Might be worth following up at some point

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


More information about the cfe-commits mailing list