aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2016-05-27 12:05:59 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2016-05-27 12:05:59 +0000
commit3168e073cbed6698c035fd16abd2fc8d59e4bec8 (patch)
treea3938511084183314dd352f24ed77c6683a04186 /gcc
parent6a813c9659aec29ba18173f5d070c846a0919d60 (diff)
downloadgcc-3168e073cbed6698c035fd16abd2fc8d59e4bec8.zip
gcc-3168e073cbed6698c035fd16abd2fc8d59e4bec8.tar.gz
gcc-3168e073cbed6698c035fd16abd2fc8d59e4bec8.tar.bz2
S/390: Replace rtx_equal_p with reg_overlap_mentioned_p in splitter check.
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/s390/s390.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 59aa6d1..67a20e9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md
index caf8ed5..f8c61a8 100644
--- a/gcc/config/s390/s390.md
+++ b/gcc/config/s390/s390.md
@@ -3926,7 +3926,7 @@
(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;
@@ -3954,7 +3954,7 @@
(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;