summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyilp2.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-12-15 14:38:29 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-12-15 22:05:14 +0100
commit226c238839ce84c2c310c8e7522838160c6f71af (patch)
treeafe938454fc7e55b6675908ee2ea4320de64dea6 /ir/be/becopyilp2.c
parente207fc73a24963b86a235d59cd18fac481f8d1d3 (diff)
becopyopt: Remove the unnecessary attribute name from struct copy_opt_t.
Diffstat (limited to 'ir/be/becopyilp2.c')
-rw-r--r--ir/be/becopyilp2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir/be/becopyilp2.c b/ir/be/becopyilp2.c
index f6f5862..d6e6f20 100644
--- a/ir/be/becopyilp2.c
+++ b/ir/be/becopyilp2.c
@@ -531,7 +531,7 @@ static void ilp2_build(ilp_env_t *ienv)
{
int lower_bound;
- ienv->lp = lpp_new(ienv->co->name, lpp_minimize);
+ ienv->lp = lpp_new("copyilp", lpp_minimize);
build_coloring_cstr(ienv);
build_interference_cstr(ienv);
build_affinity_cstr(ienv);
@@ -555,8 +555,7 @@ static void ilp2_apply(ilp_env_t *ienv)
int i;
if (state != lpp_optimal) {
- printf("WARNING %s: Solution state is not 'optimal': %d\n",
- ienv->co->name, (int)state);
+ ir_printf("WARNING: Solution state of %F register class %s is not 'optimal': %d\n", ienv->co->irg, ienv->co->cls->name, (int)state);
if (state < lpp_feasible) {
panic("Copy coalescing solution not feasible!");
}