Commit bf9eb8a7 authored by Matthias Braun's avatar Matthias Braun
Browse files

cfopt: we remove unreachable code before begin, so no need to test for it

parent d86a0b3d
......@@ -262,10 +262,6 @@ static void merge_blocks(ir_node *b, void *env)
static void optimize_blocks(ir_node *b, void *ctx)
bool *changed = (bool*)ctx;
if (get_Block_dom_depth(b) < 0) {
/* ignore unreachable blocks */
/* Count the number of predecessor if this block is merged with pred blocks
that are empty. */
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