Prefer new_Const(get_mode_one(x)) over new_Const_long(x, 1).
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 20 Feb 2010 11:49:04 +0000 (11:49 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 20 Feb 2010 11:49:04 +0000 (11:49 +0000)
[r27187]

ir/ir/iropt.c

index 3f59816..d44e1d1 100644 (file)
@@ -2666,7 +2666,7 @@ restart:
                                                get_irn_dbg_info(n),
                                                blk,
                                                mb,
-                                               new_Const_long(mode, 1),
+                                               new_Const(get_mode_one(mode)),
                                                mode),
                                        mode);
                        DBG_OPT_ALGSIM0(oldn, n, FS_OPT_SUB_MUL_A_X_A);
@@ -2681,7 +2681,7 @@ restart:
                                                get_irn_dbg_info(n),
                                                blk,
                                                ma,
-                                               new_Const_long(mode, 1),
+                                               new_Const(get_mode_one(mode)),
                                                mode),
                                        mode);
                        DBG_OPT_ALGSIM0(oldn, n, FS_OPT_SUB_MUL_A_X_A);