Commit 58ed88f2 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix warnings

[r27822]
parent e07d8cc4
...@@ -439,6 +439,11 @@ static ir_node *gen_int_binop(ir_node *node, match_flags_t flags, ...@@ -439,6 +439,11 @@ static ir_node *gen_int_binop(ir_node *node, match_flags_t flags,
attr->shift_modifier); attr->shift_modifier);
} }
break; break;
case ARM_SHF_REG:
case ARM_SHF_RRX:
break;
case ARM_SHF_INVALID:
panic("invalid shift");
} }
} }
if ((flags & (MATCH_COMMUTATIVE|MATCH_REVERSE)) && is_arm_Mov(new_op1)) { if ((flags & (MATCH_COMMUTATIVE|MATCH_REVERSE)) && is_arm_Mov(new_op1)) {
...@@ -471,6 +476,12 @@ static ir_node *gen_int_binop(ir_node *node, match_flags_t flags, ...@@ -471,6 +476,12 @@ static ir_node *gen_int_binop(ir_node *node, match_flags_t flags,
attr->shift_modifier); attr->shift_modifier);
} }
break; break;
case ARM_SHF_REG:
case ARM_SHF_RRX:
break;
case ARM_SHF_INVALID:
panic("invalid shift");
} }
} }
return factory->new_binop_reg(dbgi, block, new_op1, new_op2); return factory->new_binop_reg(dbgi, block, new_op1, new_op2);
...@@ -859,6 +870,12 @@ static ir_node *gen_Not(ir_node *node) ...@@ -859,6 +870,12 @@ static ir_node *gen_Not(ir_node *node)
mov_sft = get_irn_n(new_op, 1); mov_sft = get_irn_n(new_op, 1);
return new_bd_arm_Mvn_reg_shift_reg(dbgi, block, mov_op, mov_sft, return new_bd_arm_Mvn_reg_shift_reg(dbgi, block, mov_op, mov_sft,
attr->shift_modifier); attr->shift_modifier);
case ARM_SHF_REG:
case ARM_SHF_RRX:
break;
case ARM_SHF_INVALID:
panic("invalid shift");
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment