Commit 909ba29e authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Slightly reduce code duplication.

[r21769]
parent d205ac99
......@@ -1219,16 +1219,15 @@ restart:
goto restart;
}
/* else both are strict conv, second is superfluous */
} else if (is_Proj(a)) {
ir_node *pred = get_Proj_pred(a);
if (is_Load(pred)) {
/* loads always return with the exact precision of n_mode */
assert(get_Load_mode(pred) == n_mode);
return a;
}
/* leave strict floating point Conv's */
return n;
} else {
if (is_Proj(a)) {
ir_node *pred = get_Proj_pred(a);
if (is_Load(pred)) {
/* loads always return with the exact precision of n_mode */
assert(get_Load_mode(pred) == n_mode);
return a;
}
}
/* leave strict floating point Conv's */
return n;
}
......
Supports Markdown
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