added option for dumping after contraint perms
authorDaniel Grund <grund@cs.uni-saarland.de>
Tue, 20 Dec 2005 15:35:08 +0000 (15:35 +0000)
committerDaniel Grund <grund@cs.uni-saarland.de>
Tue, 20 Dec 2005 15:35:08 +0000 (15:35 +0000)
ir/be/bechordal_main.c
ir/be/bechordal_t.h
ir/be/bemain.c

index 7ab4399..4d0070a 100644 (file)
@@ -260,6 +260,7 @@ static void be_ra_chordal_main(const be_main_env_t *main_env, ir_graph *irg)
 
                /* Insert perms before reg-constrained instructions */
                be_insert_constr_perms(&chordal_env);
+               dump(BE_CH_DUMP_CONSTR, irg, "-constr", dump_ir_block_graph_sched);
 
                be_liveness(irg);
                be_numbering(irg);
index ffdd423..38ccf74 100644 (file)
@@ -91,7 +91,8 @@ enum {
        BE_CH_DUMP_COPYMIN    = (1 << 2),
        BE_CH_DUMP_SSADESTR       = (1 << 3),
        BE_CH_DUMP_TREE_INTV  = (1 << 4),
-       BE_CH_DUMP_ALL        = 2 * BE_CH_DUMP_TREE_INTV - 1,
+       BE_CH_DUMP_CONSTR     = (1 << 5),
+       BE_CH_DUMP_ALL        = 2 * BE_CH_DUMP_CONSTR - 1,
 
        /* copymin method */
        BE_CH_COPYMIN_HEUR    = 1,
index d9b2836..c878c94 100644 (file)
@@ -72,7 +72,7 @@ static unsigned dump_flags = DUMP_INITIAL | DUMP_SCHED | DUMP_PREPARED | DUMP_RA
 static const be_ra_t *ra = &be_ra_chordal_allocator;
 
 /* back end instruction set architecture to use */
-static const arch_isa_if_t *isa_if = &firm_isa;
+static const arch_isa_if_t *isa_if = &ia32_isa_if;
 
 #ifdef WITH_LIBCORE