From 1779f8a4e0ee93544e4e89bbe91f22c7be4bb568 Mon Sep 17 00:00:00 2001 From: Daniel Grund Date: Tue, 20 Dec 2005 15:35:08 +0000 Subject: [PATCH] added option for dumping after contraint perms --- ir/be/bechordal_main.c | 1 + ir/be/bechordal_t.h | 3 ++- ir/be/bemain.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ir/be/bechordal_main.c b/ir/be/bechordal_main.c index 7ab43995e..4d0070aae 100644 --- a/ir/be/bechordal_main.c +++ b/ir/be/bechordal_main.c @@ -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); diff --git a/ir/be/bechordal_t.h b/ir/be/bechordal_t.h index ffdd4238d..38ccf74e0 100644 --- a/ir/be/bechordal_t.h +++ b/ir/be/bechordal_t.h @@ -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, diff --git a/ir/be/bemain.c b/ir/be/bemain.c index d9b283673..c878c9450 100644 --- a/ir/be/bemain.c +++ b/ir/be/bemain.c @@ -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 -- 2.20.1