summaryrefslogtreecommitdiffhomepage
path: root/ir/ana
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-02-13 12:57:41 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2016-02-13 12:58:51 +0100
commit8c9e32f417e25eadf7ae846e494a550506f8aee9 (patch)
tree3fd06cb563fce3f41633ac663f60760172e7679d /ir/ana
parentbe60c5925b33fa3cc78f28e869026b1f9fb4f3ae (diff)
constbits: Make debug info a bit more verbose.
Diffstat (limited to 'ir/ana')
-rw-r--r--ir/ana/constbits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/ana/constbits.c b/ir/ana/constbits.c
index e5b8153..41afc4a 100644
--- a/ir/ana/constbits.c
+++ b/ir/ana/constbits.c
@@ -135,7 +135,7 @@ static bool set_bitinfo(ir_node const *const irn, ir_tarval *const z, ir_tarval
}
b->z = z;
b->o = o;
- DB((dbg, LEVEL_3, "Set %+F: 0:%T 1:%T\n", irn, z, o));
+ DB((dbg, LEVEL_3, "Set %+F: 0:%T 1:%T%s\n", irn, z, o, is_undefined(b) ? " (bottom)" : tarval_is_all_one(z) && tarval_is_null(o) ? " (top)" : ""));
return true;
}