From 8cdedd4cd262beea3fae538d3301963d47f13967 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 5 Aug 2023 12:35:27 +0100 Subject: [PATCH] Add `raw_data(^matrix[R, C]T) -> [^]T` --- src/check_builtin.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp index 35720c914..7f9f4ab13 100644 --- a/src/check_builtin.cpp +++ b/src/check_builtin.cpp @@ -3692,6 +3692,9 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As case Type_SimdVector: operand->type = alloc_type_multi_pointer(base_array_type(base)); break; + case Type_Matrix: + operand->type = alloc_type_multi_pointer(base->Matrix.elem); + break; } } break;