From: Wolfgang Bumiller Date: Sun, 23 Dec 2012 16:51:01 +0000 (+0100) Subject: don't optimize out NOT_S instructions for COND X-Git-Tag: before-library~526 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=3c9283cc41032400b256ebbe9bbebbde8e517383 don't optimize out NOT_S instructions for COND --- diff --git a/ir.c b/ir.c index 93c0a54..6d436f1 100644 --- a/ir.c +++ b/ir.c @@ -609,7 +609,8 @@ bool ir_function_pass_peephole(ir_function *self) if (inot->_ops[0] != value || inot->opcode < INSTR_NOT_F || inot->opcode > INSTR_NOT_FNC || - inot->opcode == INSTR_NOT_V) /* can't do this one */ + inot->opcode == INSTR_NOT_V || /* can't do these */ + inot->opcode == INSTR_NOT_S) { break; }