[clang] [llvm] Add cross builtins and cross HLSL function to DirectX and SPIR-V backend (PR #109180)
Chris B via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 30 16:48:39 PDT 2024
================
@@ -10506,7 +10506,9 @@ def err_second_argument_to_cwsc_not_pointer : Error<
"second argument to __builtin_call_with_static_chain must be of pointer type">;
def err_vector_incorrect_num_initializers : Error<
- "%select{too many|too few}0 elements in vector initialization (expected %1 elements, have %2)">;
+ "%select{too many|too few}0 elements in vector %select{initialization|operand}3 (expected %1 elements, have %2)">;
+def err_incorrect_vector_element_count : Error<
----------------
llvm-beanz wrote:
Also maybe rename `err_vector_incorrect_num_initializers` -> `err_vector_incorrect_num_elements`?
https://github.com/llvm/llvm-project/pull/109180
More information about the cfe-commits
mailing list