S/390: Replace rtx_equal_p with reg_overlap_mentioned_p in splitter check.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 27 May 2016 12:05:59 +0000 (12:05 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 27 May 2016 12:05:59 +0000 (12:05 +0000)
gcc/ChangeLog:

2016-05-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/s390.md (2x risbg splitters): Use
reg_overlap_mentioned_p instead of rtx_equal_p.

From-SVN: r236814

gcc/ChangeLog
gcc/config/s390/s390.md

index 59aa6d1f09ad708acc3d5e7dd3109bd46a0548cc..67a20e9eeec6bebe94f80f0938dec2436b0acaa8 100644 (file)
@@ -1,3 +1,8 @@
+2016-05-27  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * config/s390/s390.md (2x risbg splitters): Use
+       reg_overlap_mentioned_p instead of rtx_equal_p.
+
 2016-05-27  Dominik Vogt  <vogt@linux.vnet.ibm.com>
 
        * combine.c (make_compound_operation): Take known zero bits into
index caf8ed558c3a8526bbf019fe1b3bda891df4edc1..f8c61a8fd063b2d1737b02f004cdacfd51a4496c 100644 (file)
                 (ashift:GPR (match_dup 3) (match_dup 4))))]
 {
   operands[5] = GEN_INT ((1UL << UINTVAL (operands[4])) - 1);
-  if (rtx_equal_p (operands[0], operands[3]))
+  if (reg_overlap_mentioned_p (operands[0], operands[3]))
     {
       if (!can_create_pseudo_p ())
        FAIL;
      (clobber (reg:CC CC_REGNUM))])]
 {
   operands[5] = GEN_INT ((1UL << UINTVAL (operands[4])) - 1);
-  if (rtx_equal_p (operands[0], operands[3]))
+  if (reg_overlap_mentioned_p (operands[0], operands[3]))
     {
       if (!can_create_pseudo_p ())
        FAIL;