Commit 67553de4 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Add a hint about the infamous pn_Cmp_Lg/Ne mixup in the assertion message of...

Add a hint about the infamous pn_Cmp_Lg/Ne mixup in the assertion message of verify_node_Proj_Cmp().

[r28333]
parent 0a897a83
......@@ -580,7 +580,7 @@ static int verify_node_Proj_Cmp(ir_node *n, ir_node *p)
);
ASSERT_AND_RET_DBG(
(mode_is_float(get_irn_mode(get_Cmp_left(n))) || !(proj & pn_Cmp_Uo)),
"unordered Proj for non-float Cmp", 0,
"unordered Proj for non-float Cmp (Did you use Ne instead of Lg?)", 0,
show_proj_failure(p);
);
return 1;
......
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