================ @@ -10655,6 +10655,8 @@ def err_second_argument_to_cwsc_not_pointer : Error< def err_vector_incorrect_num_elements : Error< "%select{too many|too few}0 elements in vector %select{initialization|operand}3 (expected %1 elements, have %2)">; +def err_invalid_even_odd_vector_element_count : Error< + "invalid element count of %0 in vector %select{initialization|operand}4 (expected an %select{even|odd}3 element count in the range of %1 and %2)">; ---------------- Icohedron wrote:
"a vector whose total size is a multiple of 64-bits" could also mean `uint16_t4` ;) But with a check for 32-bits in the integer arguments as a separate error message, it would be sufficient. Or perhaps, do you think the AddUint64 function should be generalized to accept any vector of unsigned integers whose total size is a multiple of 64-bits? Like `uint16_t4`, or potentially `uint32_t` vectors longer than 4 in the future? https://github.com/llvm/llvm-project/pull/127137 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits