Author: Hans Wennborg
Date: 2020-06-18T14:06:55+02:00
New Revision: d8c612b7eabcc7ec399fad533d5beefa4ae08ac9

URL: 
https://github.com/llvm/llvm-project/commit/d8c612b7eabcc7ec399fad533d5beefa4ae08ac9
DIFF: 
https://github.com/llvm/llvm-project/commit/d8c612b7eabcc7ec399fad533d5beefa4ae08ac9.diff

LOG: Make matrix-type-builtins.m pass also on platforms where the type is 
'unsigned long long'

Added: 
    

Modified: 
    clang/test/SemaObjC/matrix-type-builtins.m

Removed: 
    


################################################################################
diff  --git a/clang/test/SemaObjC/matrix-type-builtins.m 
b/clang/test/SemaObjC/matrix-type-builtins.m
index 63193574ca45..8187bffae525 100644
--- a/clang/test/SemaObjC/matrix-type-builtins.m
+++ b/clang/test/SemaObjC/matrix-type-builtins.m
@@ -27,5 +27,5 @@ void test_element_type_mismatch(u4x4 m, MatrixValue *mv) {
 
   __builtin_matrix_column_major_store(mv.value, mv.value, mv.value);
   // expected-error@-1 {{second argument must be a pointer to a valid matrix 
element type}}
-  // expected-error@-2 {{casting 'double4x4' (aka 'double 
__attribute__((matrix_type(4, 4)))') to incompatible type 'unsigned long'}}
+  // expected-error@-2 {{casting 'double4x4' (aka 'double 
__attribute__((matrix_type(4, 4)))') to incompatible type 'unsigned long}}
 }


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to