Commit 8c5eaa3b authored by Matthias Braun's avatar Matthias Braun
Browse files

sparc: fix delay slot corner cases

parent 6d944bd2
......@@ -257,7 +257,7 @@ static bool is_no_instruction(const ir_node *node)
if (is_sparc_Ba(node) && ba_is_fallthrough(node))
return true;
return be_is_Keep(node) || be_is_Start(node) || is_Phi(node);
return be_is_Keep(node) || is_sparc_Start(node) || is_Phi(node);
static bool has_delay_slot(const ir_node *node)
......@@ -326,6 +326,8 @@ static bool is_legal_delay_slot_filler(const ir_node *node)
return false;
if (rbitset_is_set(delay_slot_fillers, get_irn_idx(node)))
return false;
if (is_sparc_Save(node))
return false;
return true;
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