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
54502fbc
Commit
54502fbc
authored
Feb 11, 2016
by
Christoph Mallon
Browse files
belower: Small cleanup in push_through_perm().
parent
fdfd918b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/belower.c
View file @
54502fbc
...
...
@@ -357,15 +357,13 @@ static bool push_through_perm(ir_node *const perm, arch_register_class_t const *
unsigned
new_size
=
arity
;
ir_node
*
node
=
sched_prev
(
perm
);
for
(
ir_node
*
next
;;
node
=
next
)
{
if
(
sched_is_begin
(
node
))
break
;
for
(
ir_node
*
prev
;
!
sched_is_begin
(
node
);
node
=
prev
)
{
if
(
arch_irn_is
(
node
,
schedule_first
))
{
DB
((
dbg_permmove
,
LEVEL_2
,
"
\t
cannot move past schedule_first %+F
\n
"
,
node
));
break
;
}
next
=
sched_prev
(
node
);
prev
=
sched_prev
(
node
);
/* Remove Copy with src-reg = dst-reg, which would otherwise block moving
* the Perm. */
...
...
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