Fix bit or / xor / and on bool vectors.

This commit is contained in:
Christoffer Lerno
2022-12-20 03:24:24 +01:00
parent 334c004f1e
commit e8a8ac8bc1
4 changed files with 19 additions and 4 deletions

View File

@@ -3708,6 +3708,11 @@ void llvm_emit_binary(GenContext *c, BEValue *be_value, Expr *expr, BEValue *lhs
llvm_value_set_bool(be_value, val);
return;
}
if (lhs.kind == BE_BOOLVECTOR)
{
llvm_value_set_bool_vector(be_value, val, expr->type);
return;
}
llvm_value_set(be_value, val, expr->type);
}