changed output for loops
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 18 May 2006 11:49:47 +0000 (11:49 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 18 May 2006 11:49:47 +0000 (11:49 +0000)
[r7751]

ir/ir/irargs.c

index 6821d4c..de84408 100644 (file)
@@ -171,7 +171,7 @@ static int firm_emit(lc_appendable_t *app,
       snprintf(buf, sizeof(buf), "%s%s", A("tv"), tv_buf);
       break;
     case k_ir_loop:
-      snprintf(buf, sizeof(buf), "ldepth[%d]", get_loop_depth(X));
+      snprintf(buf, sizeof(buf), "loop[%d:%d]", get_loop_loop_nr(X), get_loop_depth(X));
       break;
     case k_ir_op:
       snprintf(buf, sizeof(buf), "%s%s", A("op"), get_op_name(X));