make allocation C-like
[libfirm] / ir / be / bemain.c
index 716d0ec..a8692d4 100644 (file)
@@ -3,6 +3,9 @@
  * @author Sebastian Hack
  * @date 25.11.2004
  */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
 #include <stdarg.h>
 
@@ -19,6 +22,8 @@
 #include "belistsched.h"
 #include "belive_t.h"
 #include "bephicongr_t.h"
+#include "beutil.h"
+#include "bechordal.h"
 #include "phistat.h"
 
 #define N_PHASES 256
@@ -105,6 +110,8 @@ static void be_main_loop(void)
                list_sched(irg, trivial_selector, NULL);
                be_liveness(irg);
                be_ra_chordal(irg);
+               be_phi_congr_classes(irg);
+
 
                dump_allocated_irg(irg);
 
@@ -117,6 +124,5 @@ static void be_main_loop(void)
 void be_main(int argc, const char *argv[])
 {
        be_main_loop();
-       /* next line only for statistics */
-       /* do_phi_statistics(); */
+       do_phi_statistics();
 }