X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=ir.c;h=c935214cb14cd05fd17d66396b107a059d384732;hb=af53c0cb8331a7aa37dbc8200444915155cb6ad3;hp=7d83720c4d4afb3cd56ec90a08b9cc1ad7dde9d3;hpb=8d5e7190261d2ed0f214ef175d8451df3dbd4dc8;p=xonotic%2Fgmqcc.git diff --git a/ir.c b/ir.c index 7d83720..c935214 100644 --- a/ir.c +++ b/ir.c @@ -1892,7 +1892,7 @@ ir_value* ir_block_create_unary(ir_block *self, lex_ctx_t ctx, case VINSTR_NEG_F: return ir_block_create_general_instr(self, ctx, label, INSTR_SUB_F, NULL, operand, ot); case VINSTR_NEG_V: - return ir_block_create_general_instr(self, ctx, label, INSTR_SUB_V, NULL, operand, ot); + return ir_block_create_general_instr(self, ctx, label, INSTR_SUB_V, NULL, operand, TYPE_VECTOR); default: ot = operand->vtype;