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
468858fa
Commit
468858fa
authored
Nov 27, 2012
by
Christoph Mallon
Browse files
beschedregpress: Remove unnecessary tests.
It is impossible for a node in the schedule to be a Proj or not be scheduled.
parent
2ed89a4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/beschedregpress.c
View file @
468858fa
...
...
@@ -185,12 +185,7 @@ static void *reg_pressure_block_init(void *graph_env, ir_node *bl)
* Collect usage statistics.
*/
sched_foreach
(
bl
,
irn
)
{
int
i
,
n
;
if
(
is_Proj
(
irn
)
||
(
arch_get_irn_flags
(
irn
)
&
arch_irn_flags_not_scheduled
))
continue
;
for
(
i
=
0
,
n
=
get_irn_arity
(
irn
);
i
<
n
;
++
i
)
{
for
(
int
i
=
0
,
n
=
get_irn_arity
(
irn
);
i
<
n
;
++
i
)
{
usage_stats_t
*
us
=
get_or_set_usage_stats
(
env
,
irn
);
#if 0 /* Liveness is not computed here! */
if (is_live_end(bl, op))
...
...
Write
Preview
Markdown
is supported
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