]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm.md (store_minmaxsi): Use only when optimize_function_for_size_p.
authorYvan Roux <yvan.roux@linaro.org>
Fri, 29 Nov 2013 13:10:52 +0000 (13:10 +0000)
committerYvan Roux <yroux@gcc.gnu.org>
Fri, 29 Nov 2013 13:10:52 +0000 (13:10 +0000)
2013-11-29  Yvan Roux  <yvan.roux@linaro.org>

         * config/arm/arm.md (store_minmaxsi): Use only when
        optimize_function_for_size_p.

From-SVN: r205526

gcc/ChangeLog
gcc/config/arm/arm.md

index 33fa1590e647bb6e182b4c443b6a8a28a96def76..c3699455f578bd78577cfcd91f22182b0fc582d7 100644 (file)
@@ -1,3 +1,8 @@
+2013-11-29  Yvan Roux  <yvan.roux@linaro.org>
+
+        * config/arm/arm.md (store_minmaxsi): Use only when
+       optimize_function_for_size_p.
+
 2013-11-29  Jakub Jelinek  <jakub@redhat.com>
            Yury Gribov  <y.gribov@samsung.com>
 
index dd733668168373070836c1150fb9bf312441c1a8..841c624d485919a91bd01618679d4fe26bf2f74b 100644 (file)
         [(match_operand:SI 1 "s_register_operand" "r")
          (match_operand:SI 2 "s_register_operand" "r")]))
    (clobber (reg:CC CC_REGNUM))]
-  "TARGET_32BIT && optimize_insn_for_size_p()"
+  "TARGET_32BIT && optimize_function_for_size_p (cfun)"
   "*
   operands[3] = gen_rtx_fmt_ee (minmax_code (operands[3]), SImode,
                                operands[1], operands[2]);