mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Remove constant indexing for matrix value propagation
This commit is contained in:
+1
-1
@@ -10157,7 +10157,7 @@ gb_internal ExprKind check_index_expr(CheckerContext *c, Operand *o, Ast *node,
|
|||||||
o->mode = Addressing_Invalid;
|
o->mode = Addressing_Invalid;
|
||||||
o->expr = node;
|
o->expr = node;
|
||||||
return kind;
|
return kind;
|
||||||
} else if (ok) {
|
} else if (ok && !is_type_matrix(t)) {
|
||||||
ExactValue value = type_and_value_of_expr(ie->expr).value;
|
ExactValue value = type_and_value_of_expr(ie->expr).value;
|
||||||
o->mode = Addressing_Constant;
|
o->mode = Addressing_Constant;
|
||||||
bool success = false;
|
bool success = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user