Commit a8583be0 authored by sebastian.buchwald1's avatar sebastian.buchwald1
Browse files

Fix indentation

parent 52e16f28
......@@ -227,12 +227,10 @@ static int vrp_update_node(ir_vrp_info *info, ir_node *node)
vrp_left = vrp_get_or_set_info(info, get_Eor_left(node));
vrp_right = vrp_get_or_set_info(info, get_Eor_right(node));
new_bits_set = tarval_or(
tarval_and(vrp_left->bits_set, tarval_not(vrp_right->bits_not_set)),
new_bits_set = tarval_or(tarval_and(vrp_left->bits_set, tarval_not(vrp_right->bits_not_set)),
tarval_and(tarval_not(vrp_left->bits_not_set), vrp_right->bits_set));
new_bits_not_set = tarval_not(tarval_or(
tarval_and(vrp_left->bits_set,vrp_right->bits_set),
new_bits_not_set = tarval_not(tarval_or(tarval_and(vrp_left->bits_set,vrp_right->bits_set),
tarval_and(tarval_not(vrp_left->bits_not_set),
tarval_not(vrp_right->bits_not_set))));
......@@ -272,8 +270,8 @@ static int vrp_update_node(ir_vrp_info *info, ir_node *node)
/* The second and is needed if target type is smaller*/
new_bits_not_set = tarval_convert_to(get_mode_all_one(old_mode), new_mode);
new_bits_not_set = tarval_and(new_bits_not_set, tarval_convert_to(vrp_pred->bits_not_set, new_mode));
new_bits_set = tarval_and(
new_bits_not_set, tarval_convert_to(vrp_pred->bits_set, new_mode));
new_bits_set = tarval_and(new_bits_not_set,
tarval_convert_to(vrp_pred->bits_set, new_mode));
/* Matze: TODO, BUGGY, tarval_cmp never returns ir_relation_less_equal */
if (tarval_cmp(vrp_pred->range_top, get_mode_max(new_mode)) == ir_relation_less_equal) {
......@@ -322,8 +320,7 @@ static int vrp_update_node(ir_vrp_info *info, ir_node *node)
for (int i = 1, num = get_Phi_n_preds(node); i < num; i++) {
pred = get_Phi_pred(node, i);
vrp_pred = vrp_get_or_set_info(info, pred);
if (new_range_type == VRP_RANGE && vrp_pred->range_type ==
VRP_RANGE) {
if (new_range_type == VRP_RANGE && vrp_pred->range_type == VRP_RANGE) {
ir_relation relation = tarval_cmp(new_range_top, vrp_pred->range_top);
if (relation == ir_relation_less) {
new_range_top = vrp_pred->range_top;
......
......@@ -921,8 +921,7 @@ static ir_node *gen_binop_xmm(ir_node *node, ir_node *op0, ir_node *op1,
fix_node_mem_proj(new_node, args.mem_proj);
arch_set_irn_register_req_out(new_node, 0,
&amd64_requirement_xmm_same_0);
arch_set_irn_register_req_out(new_node, 0, &amd64_requirement_xmm_same_0);
return be_new_Proj(new_node, pn_amd64_subs_res);
}
......@@ -1613,7 +1612,9 @@ static ir_node *gen_Switch(ir_node *const node)
table = ir_switch_table_duplicate(irg, table);
ir_node *const out = new_bd_amd64_jmp_switch(dbgi, new_block, arity, in,
in_reqs, n_outs, op_mode, X86_SIZE_64, &addr, table, entity);
in_reqs, n_outs, op_mode,
X86_SIZE_64, &addr, table,
entity);
return out;
}
......
......@@ -336,7 +336,7 @@ static int ou_max_ind_set_costs(unit_t *const ou)
best_weight = curr_weight;
}
no_stable_set:
no_stable_set:
bitset_minus1(curr);
}
}
......
......@@ -615,8 +615,7 @@ void be_step_last(ir_graph *irg)
stat_ev_dbl(buf, ir_timer_elapsed_usec(be_timers[t]));
}
} else {
printf("==>> IRG %s <<==\n",
get_entity_name(get_irg_entity(irg)));
printf("==>> IRG %s <<==\n", get_entity_name(get_irg_entity(irg)));
for (be_timer_id_t t = T_FIRST; t < T_LAST+1; ++t) {
double val = ir_timer_elapsed_usec(be_timers[t]) / 1000.0;
printf("%-20s: %10.3f msec\n", get_timer_name(t), val);
......
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