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
821aaff2
Commit
821aaff2
authored
Oct 25, 2014
by
Christoph Mallon
Browse files
ldstopt: Use exchange() instead of set_irn_in() when a Sync has only a single operand left.
parent
f3f4b553
Changes
1
Show whitespace changes
Inline
Side-by-side
ir/opt/ldstopt.c
View file @
821aaff2
...
...
@@ -2243,6 +2243,9 @@ again:;
new_in
[
new_arity
++
]
=
in
;
}
if
(
new_arity
==
1
)
exchange
(
sync
,
new_in
[
0
]);
else
set_irn_in
(
sync
,
new_arity
,
new_in
);
}
}
...
...
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