mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-21 18:30:52 +00:00
don't optimize out NOT_S instructions for COND
This commit is contained in:
parent
2967dba7ad
commit
3c9283cc41
1 changed files with 2 additions and 1 deletions
3
ir.c
3
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue