* config/sh/sh.md (tstsi_t): Add '?' modifier to 'r' alternative of
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jun 2015 21:45:37 +0000 (21:45 +0000)
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jun 2015 21:45:37 +0000 (21:45 +0000)
  the 2nd operand to fix failures for gcc.target/sh/pr49263-2.c with -mlra.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224349 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sh/sh.md

index 32fce15..c874789 100644 (file)
@@ -1,3 +1,8 @@
+2015-06-10  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.md (tstsi_t): Add '?' modifier to 'r' alternative
+       of the second operand.
+
 2015-06-10  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/66473
index 33241a8..e88d249 100644 (file)
 (define_insn_and_split "tstsi_t"
   [(set (reg:SI T_REG)
        (eq:SI (and:SI (match_operand:SI 0 "arith_reg_operand" "%z,r")
-                      (match_operand:SI 1 "arith_or_int_operand" "K08,r"))
+                      (match_operand:SI 1 "arith_or_int_operand" "K08,?r"))
               (const_int 0)))]
   "TARGET_SH1
    && (can_create_pseudo_p () || arith_reg_operand (operands[1], SImode)