From 3c9283cc41032400b256ebbe9bbebbde8e517383 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sun, 23 Dec 2012 17:51:01 +0100 Subject: [PATCH] don't optimize out NOT_S instructions for COND --- ir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.2