diff options
| author | gingerBill <bill@gingerbill.org> | 2023-08-05 12:35:27 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-08-05 12:35:27 +0100 |
| commit | 8cdedd4cd262beea3fae538d3301963d47f13967 (patch) | |
| tree | ebf9ed88ee72669721827752e40877b06fd3c70b /src/check_builtin.cpp | |
| parent | 985e4eed6070995de854ed4b84981bbb89a81c45 (diff) | |
Add `raw_data(^matrix[R, C]T) -> [^]T`
Diffstat (limited to 'src/check_builtin.cpp')
| -rw-r--r-- | src/check_builtin.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |