set add with immediate commutative
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Tue, 11 Apr 2006 13:48:51 +0000 (13:48 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Tue, 11 Apr 2006 13:48:51 +0000 (13:48 +0000)
ir/be/ia32/ia32_transform.c

index 032330a..7352bae 100644 (file)
@@ -499,6 +499,7 @@ static ir_node *gen_Add(ia32_transform_env_t *env) {
 
                        /* set AM support */
                        set_ia32_am_support(new_op, ia32_am_Dest);
+                       set_ia32_commutative(new_op);
                }
                else {
                        /* This is a normal add */