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
314e74a2
Commit
314e74a2
authored
Sep 24, 2014
by
Christoph Mallon
Browse files
iropt: Remove redundant test.
is_Or_Eor_Add() is subsumed by is_Eor_Add().
parent
1d4c5949
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/iropt.c
View file @
314e74a2
...
@@ -990,12 +990,12 @@ static ir_node *equivalent_node_Eor(ir_node *n)
...
@@ -990,12 +990,12 @@ static ir_node *equivalent_node_Eor(ir_node *n)
ir_node
*
x
;
ir_node
*
x
;
ir_node
*
z
;
ir_node
*
z
;
if
(
is_Eor
(
a
)
||
is_Or_Eor_Add
(
a
)
||
is_Eor_Add
(
a
))
{
if
(
is_Eor
(
a
)
||
is_Eor_Add
(
a
))
{
x
=
b
;
x
=
b
;
z
=
a
;
z
=
a
;
goto
inverse
;
goto
inverse
;
}
}
if
(
is_Eor
(
b
)
||
is_Or_Eor_Add
(
b
)
||
is_Eor_Add
(
b
))
{
if
(
is_Eor
(
b
)
||
is_Eor_Add
(
b
))
{
x
=
a
;
x
=
a
;
z
=
b
;
z
=
b
;
inverse:
;
inverse:
;
...
...
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