Add missing returns.
authorChristoph Mallon <christoph.mallon@gmx.de>
Fri, 10 Oct 2008 16:45:54 +0000 (16:45 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 10 Oct 2008 16:45:54 +0000 (16:45 +0000)
[r22657]

ir/ir/iropt.c

index 8460b8e..518b903 100644 (file)
@@ -1252,10 +1252,12 @@ restart:
                                if (n_mode == mode_b) {
                                        n = b; /* Convb(Conv*(xxxb(...))) == xxxb(...) */
                                        DBG_OPT_ALGSIM1(oldn, a, b, n, FS_OPT_CONV);
+                                       return n;
                                } else if (get_mode_arithmetic(n_mode) == get_mode_arithmetic(a_mode)) {
                                        if (values_in_mode(b_mode, a_mode)) {
                                                n = b;        /* ConvS(ConvL(xxxS(...))) == xxxS(...) */
                                                DBG_OPT_ALGSIM1(oldn, a, b, n, FS_OPT_CONV);
+                                               return n;
                                        }
                                }
                        }
@@ -1276,6 +1278,7 @@ restart:
                                                set_Conv_strict(b, 1);
                                        n = b; /* ConvA(ConvB(ConvA(...))) == ConvA(...) */
                                        DBG_OPT_ALGSIM1(oldn, a, b, n, FS_OPT_CONV);
+                                       return n;
                                }
                        }
                }