From 07a7c578268c74d61e1f44fb77e9b587e29d5198 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 3 Mar 2006 17:10:47 +0000 Subject: [PATCH] ILP solver can be disabled using NO_ILP define --- ir/be/bechordal_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ir/be/bechordal_main.c b/ir/be/bechordal_main.c index a77748ecd..6a576ea44 100644 --- a/ir/be/bechordal_main.c +++ b/ir/be/bechordal_main.c @@ -164,7 +164,9 @@ static be_ra_chordal_opts_t options = { #ifdef WITH_LIBCORE static const lc_opt_enum_int_items_t spill_items[] = { { "belady", BE_CH_SPILL_BELADY }, +#ifndef NO_ILP { "ilp", BE_CH_SPILL_ILP }, +#endif { NULL, 0 } }; @@ -272,9 +274,11 @@ static void be_ra_chordal_main(const be_irg_t *bi) case BE_CH_SPILL_BELADY: be_spill_belady(&chordal_env); break; +#ifndef NO_ILP case BE_CH_SPILL_ILP: be_spill_ilp(&chordal_env); break; +#endif default: fprintf(stderr, "no valid spiller selected. falling back to belady\n"); be_spill_belady(&chordal_env); -- 2.20.1