don't optimize out NOT_S instructions for COND

This commit is contained in:
Wolfgang Bumiller 2012-12-23 17:51:01 +01:00
parent 2967dba7ad
commit 3c9283cc41

3
ir.c
View file

@ -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;
}