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
98b46639
Commit
98b46639
authored
Jan 09, 2015
by
yb9976
Browse files
Fixed indentation.
parent
b5dcbce3
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/iropt.c
View file @
98b46639
...
...
@@ -4568,15 +4568,15 @@ static ir_node *transform_node_Minus(ir_node *n)
ir_node
*
negated_l
=
can_negate_cheaply
(
NULL
,
l
);
if
(
negated_l
!=
NULL
)
{
/* -((a - b) + c) -> (b - a) - c */
ir_node
*
block
=
get_nodes_block
(
n
);
ir_mode
*
mode
=
get_irn_mode
(
n
);
ir_node
*
block
=
get_nodes_block
(
n
);
ir_mode
*
mode
=
get_irn_mode
(
n
);
return
new_rd_Sub
(
dbgi
,
block
,
negated_l
,
r
,
mode
);
}
ir_node
*
negated_r
=
can_negate_cheaply
(
NULL
,
r
);
if
(
negated_r
!=
NULL
)
{
/* -(a + (b - c)) -> (c - b) - a */
ir_node
*
block
=
get_nodes_block
(
n
);
ir_mode
*
mode
=
get_irn_mode
(
n
);
ir_node
*
block
=
get_nodes_block
(
n
);
ir_mode
*
mode
=
get_irn_mode
(
n
);
return
new_rd_Sub
(
dbgi
,
block
,
negated_r
,
l
,
mode
);
}
}
...
...
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