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
a4c7b7ac
Commit
a4c7b7ac
authored
Aug 18, 2011
by
yb9976
Browse files
Fixed opt/fehler196.c.
parent
355d06b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/iropt.c
View file @
a4c7b7ac
...
...
@@ -4941,7 +4941,7 @@ static ir_node *transform_node_Or(ir_node *n)
/* we can combine the relations of two compares with the same operands */
if
(
is_Cmp
(
a
)
&&
is_Cmp
(
b
))
{
ir_node
*
a_left
=
get_Cmp_left
(
a
);
ir_node
*
a_right
=
get_Cmp_
lef
t
(
a
);
ir_node
*
a_right
=
get_Cmp_
righ
t
(
a
);
ir_node
*
b_left
=
get_Cmp_left
(
b
);
ir_node
*
b_right
=
get_Cmp_right
(
b
);
if
(
a_left
==
b_left
&&
b_left
==
b_right
)
{
...
...
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