Fix to vector comparisons.

This commit is contained in:
Christoffer Lerno
2022-12-18 20:58:20 +01:00
parent 2ee2bc3129
commit aa534e2b3f

View File

@@ -481,7 +481,7 @@ static void llvm_emit_veccomp(GenContext *c, BEValue *value, Expr *expr, Builtin
}
else
{
bool is_signed = type_is_signed(args[0]->type);
bool is_signed = type_is_signed(args[0]->type->array.base);
switch (fn)
{
case BUILTIN_VECCOMPEQ: