Commit 8235e16c authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

fp-vrp transfer function ignore Bads

Since Bads have modes now the check for mode_X initialized the bitinfo,
which results in incorrect reachability information.
parent 1cfc0c70
...@@ -176,6 +176,8 @@ static int transfer(ir_node* const irn) ...@@ -176,6 +176,8 @@ static int transfer(ir_node* const irn)
ir_tarval* z; ir_tarval* z;
ir_tarval* o; ir_tarval* o;
if (is_Bad(irn)) return 0;
if (m == mode_X) { if (m == mode_X) {
bitinfo* const b = get_bitinfo(get_nodes_block(irn)); bitinfo* const b = get_bitinfo(get_nodes_block(irn));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment