mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix to vector comparisons.
This commit is contained in:
@@ -481,7 +481,7 @@ static void llvm_emit_veccomp(GenContext *c, BEValue *value, Expr *expr, Builtin
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bool is_signed = type_is_signed(args[0]->type);
|
bool is_signed = type_is_signed(args[0]->type->array.base);
|
||||||
switch (fn)
|
switch (fn)
|
||||||
{
|
{
|
||||||
case BUILTIN_VECCOMPEQ:
|
case BUILTIN_VECCOMPEQ:
|
||||||
|
|||||||
Reference in New Issue
Block a user