================
@@ -51,6 +53,9 @@ static void test(void) {
     ivec4 -= ivec4;
     ivec4 |= ivec4;
     ivec4 += ptr; // expected-error {{cannot convert between vector and 
non-scalar values ('int4' (vector of 4 'int' values) and 'int *')}}
+
+    bvec4 != 0; // expected-warning {{inequality comparison result unused}} \
----------------
AaronBallman wrote:
Isn't the vector element type here `float` and not `bool`? (I'm trying to 
understand how the test case relates to the changes and feel like I must be 
missing something; perhaps the bool vector is from the result of the inequality 
operator?)

https://github.com/llvm/llvm-project/pull/108657
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to