mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-07 13:33:13 +00:00
Fix #1930
This commit is contained in:
@@ -2270,6 +2270,9 @@ lbValue lb_emit_comp(lbProcedure *p, TokenKind op_kind, lbValue left, lbValue ri
|
||||
}
|
||||
}
|
||||
|
||||
a = core_type(left.type);
|
||||
b = core_type(right.type);
|
||||
|
||||
if (is_type_matrix(a) && (op_kind == Token_CmpEq || op_kind == Token_NotEq)) {
|
||||
Type *tl = base_type(a);
|
||||
lbValue lhs = lb_address_from_load_or_generate_local(p, left);
|
||||
|
||||
Reference in New Issue
Block a user