Commit 314e74a2 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

iropt: Remove redundant test.

is_Or_Eor_Add() is subsumed by is_Eor_Add().
parent 1d4c5949
......@@ -990,12 +990,12 @@ static ir_node *equivalent_node_Eor(ir_node *n)
ir_node *x;
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;
z = a;
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;
z = b;
inverse:;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment