Commit a0e6bed6 authored by Matthias Braun's avatar Matthias Braun
Browse files

add note/error message about critical edge splitting and IJmps

parent c64c5e51
......@@ -72,6 +72,12 @@ static void walk_critical_cf_edges(ir_node *n, void *env) {
goto insert;
if (is_IJmp(pre)) {
/* we can't add blocks in between ijmp and its destinations
* TODO: What now, we can't split all critical edges because of this... */
fprintf(stderr, "libfirm warning: Couldn't split all critical edges (compiler will probably fail now)\n");
/* we don't want place nodes in the start block, so handle it like forking */
if (is_op_forking(cfop) || cfop == op_Start) {
/* Predecessor has multiple successors. Insert new control flow edge edges. */
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