projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
phi opt deactivated due to bug.
[libfirm]
/
ir
/
be
/
bemain.c
diff --git
a/ir/be/bemain.c
b/ir/be/bemain.c
index
2a7e926
..
b6a5320
100644
(file)
--- a/
ir/be/bemain.c
+++ b/
ir/be/bemain.c
@@
-23,14
+23,13
@@
#include "belistsched.h"
#include "belive_t.h"
#include "beutil.h"
#include "belistsched.h"
#include "belive_t.h"
#include "beutil.h"
-#include "
bephicongr
_t.h"
+#include "
phiclass
_t.h"
#include "bechordal.h"
#include "bechordal.h"
#include "bephiopt.h"
#include "phistat.h"
#include "bechordal.h"
#include "bechordal.h"
#include "bephiopt.h"
#include "phistat.h"
-#undef DUMP_ALLOCATED
-#undef DUMP_LOCALIZED
+#define DUMP_LOCAL 1
#define N_PHASES 256
#define N_PHASES 256
@@
-114,19
+113,17
@@
static void be_main_loop(void)
ir_graph *irg = get_irp_irg(i);
localize_consts(irg);
ir_graph *irg = get_irp_irg(i);
localize_consts(irg);
-#ifdef DUMP_LOCALIZED
- dump_consts_local(0);
- dump_ir_block_graph(irg, "-local-const");
-#endif
+ if (DUMP_LOCAL) {
+ dump_consts_local(0);
+ dump_ir_block_graph(irg, "-local");
+ }
+
be_numbering(irg);
list_sched(irg, trivial_selector, NULL);
be_liveness(irg);
be_ra_chordal(irg);
be_numbering(irg);
list_sched(irg, trivial_selector, NULL);
be_liveness(irg);
be_ra_chordal(irg);
-
-#ifdef DUMP_ALLOCATED
- dump_allocated_irg(irg);
-#endif
- be_phi_opt(irg);
+ //be_phi_opt(irg);
+ //be_phi_destruction(irg);
be_ra_chordal_done(irg);
be_numbering_done(irg);
be_ra_chordal_done(irg);
be_numbering_done(irg);