Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
77aece39
Commit
77aece39
authored
Jul 27, 2015
by
Christoph Mallon
Browse files
be: Do not set both arch_irn_flag_not_scheduled and arch_irn_flag_schedule_first on new nodes.
parent
48a984ff
Changes
1
Show whitespace changes
Inline
Side-by-side
ir/be/beinfo.c
View file @
77aece39
...
@@ -50,6 +50,7 @@ void be_info_new_node(ir_graph *irg, ir_node *node)
...
@@ -50,6 +50,7 @@ void be_info_new_node(ir_graph *irg, ir_node *node)
* Set backend info for some middleend nodes which still appear in
* Set backend info for some middleend nodes which still appear in
* backend graphs
* backend graphs
*/
*/
arch_irn_flags_t
flags
=
arch_irn_flag_not_scheduled
;
switch
(
get_irn_opcode
(
node
))
{
switch
(
get_irn_opcode
(
node
))
{
case
iro_Block
:
case
iro_Block
:
case
iro_Dummy
:
case
iro_Dummy
:
...
@@ -60,16 +61,17 @@ void be_info_new_node(ir_graph *irg, ir_node *node)
...
@@ -60,16 +61,17 @@ void be_info_new_node(ir_graph *irg, ir_node *node)
case
iro_Bad
:
case
iro_Bad
:
case
iro_End
:
case
iro_End
:
case
iro_Unknown
:
case
iro_Unknown
:
info
->
flags
|=
arch_irn_flag_not_scheduled
;
break
;
/* FALLTHROUGH */
case
iro_Phi
:
case
iro_Phi
:
info
->
out_infos
=
NEW_ARR_DZ
(
reg_out_info_t
,
obst
,
1
);
flags
=
arch_irn_flag_schedule_first
;
info
->
out_infos
[
0
].
req
=
arch_no_register_req
;
info
->
flags
|=
arch_irn_flag_schedule_first
;
break
;
break
;
default:
default:
b
re
ak
;
re
turn
;
}
}
info
->
flags
=
flags
;
info
->
out_infos
=
NEW_ARR_DZ
(
reg_out_info_t
,
obst
,
1
);
info
->
out_infos
[
0
].
req
=
arch_no_register_req
;
}
}
static
void
new_phi_copy_attr
(
ir_graph
*
irg
,
const
ir_node
*
old_node
,
static
void
new_phi_copy_attr
(
ir_graph
*
irg
,
const
ir_node
*
old_node
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment