diff options
| -rw-r--r-- | liveness.c | 2 | ||||
| -rw-r--r-- | simplify.c | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -71,7 +71,7 @@ static void track_instruction_usage(struct basic_block *bb, struct instruction * break; /* Uni */ - case OP_NOT: case OP_NEG: + case OP_NOT: case OP_NEG: case OP_FNEG: USES(src1); DEFINES(target); break; @@ -349,6 +349,7 @@ static int replace_with_pseudo(struct instruction *insn, pseudo_t pseudo) kill_use(&insn->src2); case OP_NOT: case OP_NEG: + case OP_FNEG: case OP_SYMADDR: case OP_CAST: case OP_SCAST: @@ -1207,7 +1208,7 @@ int simplify_instruction(struct instruction *insn) case OP_LSR: case OP_ASR: return simplify_binop(insn); - case OP_NOT: case OP_NEG: + case OP_NOT: case OP_NEG: case OP_FNEG: return simplify_unop(insn); case OP_LOAD: if (!has_users(insn->target)) |
