/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
left = get_Proj_pred(left);
}
+ /* happens rarely, but if it does code will panic' */
+ if (is_ia32_Unknown_GP(left))
+ return;
+
/* walk schedule up and abort when we find left or some other node destroys
the flags */
schedpoint = sched_prev(node);
left = turn_into_mode_t(left);
- ir_fprintf(stderr, "Optimizing test(x,x) %+F (-> %+F)\n", node, left);
-
flags_mode = ia32_reg_classes[CLASS_ia32_flags].mode;
flags_proj = new_r_Proj(current_ir_graph, block, left, flags_mode,
pn_ia32_flags);