fixed options for spill selector
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Wed, 28 Jun 2006 15:12:29 +0000 (15:12 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Wed, 28 Jun 2006 15:12:29 +0000 (15:12 +0000)
ir/be/bechordal_main.c
ir/be/bechordal_t.h

index 7a6c3ec..4358b6d 100644 (file)
@@ -122,21 +122,13 @@ static be_ra_chordal_opts_t options = {
 };
 
 static be_ra_timer_t ra_timer = {
-
        NULL,
-
        NULL,
-
        NULL,
-
        NULL,
-
        NULL,
-
        NULL,
-
        NULL,
-
        NULL,
 
 };
@@ -231,7 +223,7 @@ static lc_opt_enum_int_var_t be_ch_vrfy_var = {
 };
 
 static const lc_opt_table_entry_t be_chordal_options[] = {
-       LC_OPT_ENT_ENUM_MASK("spill",   "spill method (belady, ilp, remat or appel)", &spill_var),
+       LC_OPT_ENT_ENUM_PTR ("spill",   "spill method (belady, ilp, remat or appel)", &spill_var),
        LC_OPT_ENT_ENUM_PTR ("copymin", "copymin method (none, heur1, heur2, ilp1, ilp2 or stat)", &copymin_var),
        LC_OPT_ENT_ENUM_PTR ("ifg",     "interference graph flavour (std, fast, clique, pointer, list, check)", &ifg_flavor_var),
        LC_OPT_ENT_ENUM_PTR ("perm",    "perm lowering options (copy or swap)", &lower_perm_var),
index f7f91a5..85ff89a 100644 (file)
@@ -91,8 +91,8 @@ void be_ra_chordal_check(be_chordal_env_t *chordal_env);
 enum {
        /* spill method */
        BE_CH_SPILL_BELADY    = 1,
-       BE_CH_SPILL_ILP       = 2,
-       BE_CH_SPILL_MORGAN    = 3,
+       BE_CH_SPILL_MORGAN    = 2,
+       BE_CH_SPILL_ILP       = 3,
        BE_CH_SPILL_REMAT     = 4,
        BE_CH_SPILL_APPEL     = 5,