Commit 333c0b86 authored by Matthias Braun's avatar Matthias Braun
Browse files

be: Proj_Cmp transformers are unnecessary

parent ae3436d1
......@@ -514,9 +514,6 @@ static ir_node *gen_Proj(ir_node *node)
} else if (be_is_AddSP(pred)) {
//panic("gen_Proj not implemented for AddSP");
return gen_Proj_be_AddSP(node);
} else if (is_Cmp(pred)) {
//panic("gen_Proj not implemented for Cmp");
return gen_Proj_Cmp(node);
} else if (is_Div(pred)) {
return gen_Proj_Div(node);
#endif
......
......@@ -1398,16 +1398,6 @@ static ir_node *gen_Proj_Div(ir_node *node)
panic("Unsupported Proj from Div");
}
/**
* Transform the Projs from a Cmp.
*/
static ir_node *gen_Proj_Cmp(ir_node *node)
{
(void) node;
/* we should only be here in case of a Mux node */
panic("Mux NYI");
}
static ir_node *gen_Proj_Start(ir_node *node)
{
ir_node *block = get_nodes_block(node);
......@@ -1580,8 +1570,6 @@ static ir_node *gen_Proj(ir_node *node)
return gen_Proj_CopyB(node);
case iro_Div:
return gen_Proj_Div(node);
case iro_Cmp:
return gen_Proj_Cmp(node);
case iro_Start:
return gen_Proj_Start(node);
case iro_Cond:
......
......@@ -5595,16 +5595,6 @@ static ir_node *gen_Proj_be_Call(ir_node *node)
return res;
}
/**
* Transform the Projs from a Cmp.
*/
static ir_node *gen_Proj_Cmp(ir_node *node)
{
/* this probably means not all mode_b nodes were lowered... */
panic("trying to directly transform Proj_Cmp %+F (mode_b not lowered?)",
node);
}
static ir_node *gen_Proj_ASM(ir_node *node)
{
ir_mode *mode = get_irn_mode(node);
......@@ -5654,8 +5644,6 @@ static ir_node *gen_Proj(ir_node *node)
return gen_Proj_be_AddSP(node);
case beo_Call:
return gen_Proj_be_Call(node);
case iro_Cmp:
return gen_Proj_Cmp(node);
case iro_Start:
proj = get_Proj_proj(node);
switch (proj) {
......
......@@ -2222,15 +2222,6 @@ static ir_node *gen_Proj_Store(ir_node *node)
panic("Unsupported Proj from Store");
}
/**
* Transform the Projs from a Cmp.
*/
static ir_node *gen_Proj_Cmp(ir_node *node)
{
(void) node;
panic("not implemented");
}
/**
* transform Projs from a Div
*/
......@@ -2431,8 +2422,6 @@ static ir_node *gen_Proj(ir_node *node)
return gen_Proj_Load(node);
case iro_Call:
return gen_Proj_Call(node);
case iro_Cmp:
return gen_Proj_Cmp(node);
case iro_Switch:
case iro_Cond:
return be_duplicate_node(node);
......
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