/*
- * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2010 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
static void lower_Proj(ir_node *node, ir_mode *mode, lower_env_t *env)
{
- (void) mode;
ir_node *pred = get_Proj_pred(node);
+ (void) mode;
if (is_Cmp(pred)) {
lower_Proj_Cmp(env, node);
}
ir_node *count, *correction, *unroll_c;
ir_node *cmp_bad_count, *good_count, *bad_count, *count_phi, *bad_count_neg;
+ ir_node *phi;
mode = get_irn_mode(loop_info.end_val);
const_null = new_Const(get_mode_null(mode));
/* Create loop entry phis in first duff block
* as it becomes the loops preheader */
- ir_node *phi;
for_each_phi(loop_head, phi) {
/* Returns phis pred if phi would have arity 1*/
ir_node *new_phi = clone_phis_sans_bes(phi, loop_head, block1);