convopt also works for and and ors
authorMatthias Braun <matze@braunis.de>
Tue, 10 Jul 2007 14:59:59 +0000 (14:59 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 10 Jul 2007 14:59:59 +0000 (14:59 +0000)
[r15002]

ir/opt/convopt.c

index ef7c5d6..cd00969 100644 (file)
@@ -58,6 +58,9 @@ static
 int is_optimizable_node(const ir_node *node)
 {
        return
+               is_And(node) ||
+               is_Or(node)  ||
+               is_Eor(node) ||
                is_Add(node) ||
                is_Sub(node) ||
                is_Mul(node) ||