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
98c9d02e
Commit
98c9d02e
authored
Aug 21, 2014
by
Matthias Braun
Browse files
ifconv: small cleanups
parent
d7b09d3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/ifconv.c
View file @
98c9d02e
...
...
@@ -142,6 +142,7 @@ static ir_node *copy_to(ir_node *node, ir_node *src_block, int i)
*/
static
void
rewire
(
ir_node
*
node
,
int
i
,
int
j
,
ir_node
*
new_pred
)
{
assert
(
i
<
j
);
int
arity
=
get_irn_arity
(
node
);
ir_node
**
ins
=
ALLOCAN
(
ir_node
*
,
arity
-
1
);
int
k
;
...
...
@@ -334,7 +335,7 @@ restart:;
if
(
val_i
==
val_j
)
{
mux
=
val_i
;
DB
((
dbg
,
LEVEL_2
,
"Generating no Mux, because both values are equal
\n
"
));
DB
((
dbg
,
LEVEL_2
,
"Generating no Mux
for %+F
, because both values are equal
\n
"
,
phi
));
}
else
{
ir_node
*
t
,
*
f
;
...
...
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