[clang] [clang] Only use CheckVectorOperands for fixed-length vector operands (PR #170485)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 3 10:50:25 PST 2025
================
@@ -22,6 +22,16 @@ auto error_sve_vector_result_matched_element_count(__SVBool_t svbool, __SVUint32
return svbool ? a : b;
}
+auto error_fixed_cond_mixed_scalar_and_vector_operands(fixed_vector cond, unsigned char a, __SVUint8_t b) {
+ // expected-error at +1 {{invalid operands to binary expression ('unsigned char' and '__SVUint8_t')}}
----------------
efriedma-quic wrote:
These diagnostics are pretty hard to understand.
https://github.com/llvm/llvm-project/pull/170485
More information about the cfe-commits
mailing list